Svdlgpls: Difference between revisions
imported>Scott |
imported>Jeremy No edit summary |
||
Line 9: | Line 9: | ||
===Description=== | ===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 | 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 <tt>varin</tt> is the variable to be saved. The dialog box allows the user to name <tt>varin</tt> 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 selected 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 <tt>''message''</tt> 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. |
Revision as of 12:51, 9 October 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 selected 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 message 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.