Svdlgpls: Difference between revisions
imported>Scott (Test) |
imported>Scott |
||
Line 11: | Line 11: | ||
SVDLPLS creates a dialog box to save a variable to the base workspace or a MATLAB file from a function (''e.g.'' a GUI). Input varin is the variable to be saved. The dialog box allows the user to name varin to a new variable and select between saving into the base workspace or a file. Variables can be appended onto existing files by selecting the file from the file list or written into new files by providing a new file name. The location for the file can be selecetd from the folders listed in the file list and from the '''Look in''' menu at the top of the dialog box. Files are always MATLAB "mat" files. The optional text variable ''messag'' allows a message to be printed in the dialog box. | SVDLPLS creates a dialog box to save a variable to the base workspace or a MATLAB file from a function (''e.g.'' a GUI). Input varin is the variable to be saved. The dialog box allows the user to name varin to a new variable and select between saving into the base workspace or a file. Variables can be appended onto existing files by selecting the file from the file list or written into new files by providing a new file name. The location for the file can be selecetd from the folders listed in the file list and from the '''Look in''' menu at the top of the dialog box. Files are always MATLAB "mat" files. The optional text variable ''messag'' allows a message to be printed in the dialog box. | ||
Optional outputs give information about the variable name name and file location location used to save the variable. Location will be empty if saved to the base workspace. | Optional outputs give information about the variable name name and file location location used to save the variable. Location will be empty if saved to the base workspace. | ||
===See Also=== | ===See Also=== | ||
[[erdlgpls]], [[lddlgpls]] | [[erdlgpls]], [[lddlgpls]] |
Revision as of 11:44, 5 September 2008
Purpose
Dialog to save variable to workspace or MAT file.
Synopsis
- [name,location] = svdlgpls(varin,message)
Description
SVDLPLS creates a dialog box to save a variable to the base workspace or a MATLAB file from a function (e.g. a GUI). Input varin is the variable to be saved. The dialog box allows the user to name varin to a new variable and select between saving into the base workspace or a file. Variables can be appended onto existing files by selecting the file from the file list or written into new files by providing a new file name. The location for the file can be selecetd from the folders listed in the file list and from the Look in menu at the top of the dialog box. Files are always MATLAB "mat" files. The optional text variable messag allows a message to be printed in the dialog box.
Optional outputs give information about the variable name name and file location location used to save the variable. Location will be empty if saved to the base workspace.