Svdlgpls: Difference between revisions

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search
imported>Jeremy
(Importing text file)
imported>Scott
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
===Purpose===
===Purpose===


Line 7: Line 6:


:[name,location] = svdlgpls(varin,''message'')
:[name,location] = svdlgpls(varin,''message'')
:[name,location] = svdlgpls(varin,message,defaultname)


===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 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 <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.
 
Optional inputs <tt>message</tt> and <tt>defaultname</tt> set the message to display in the dialog box and the default name for saving, respectively.


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 <tt>name</tt> and file location <tt>location</tt> used to save the variable. Location will be empty if saved to the base workspace.


===See Also===
===See Also===


[[erdlgpls]], [[lddlgpls]]
[[erdlgpls]], [[lddlgpls]]

Latest revision as of 10:15, 13 June 2013

Purpose

Dialog to save variable to workspace or MAT file.

Synopsis

[name,location] = svdlgpls(varin,message)
[name,location] = svdlgpls(varin,message,defaultname)

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.

Optional inputs message and defaultname set the message to display in the dialog box and the default name for saving, respectively.

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

erdlgpls, lddlgpls