Lddlgpls

From Eigenvector Research Documentation Wiki
Revision as of 15:57, 18 September 2008 by imported>Scott
Jump to navigation Jump to search

Purpose

Provide an "load" dialog box for use with GUIs.

Synopsis

[value,name,source] = lddlgpls(klass,message)
[value,name,source,dir] = lddlgpls(klass,message)

Description

LDDLPLS creates a dialog box that allows a function to load variables from the workspace or a MATLAB "mat" file into the function workspace. The location of the file to load from can be selecetd from the folders listed in the file list and from the "Look in" menu at the top of the dialog box. Optional input klass allows the user to select the workspace variable of class to load. Valid values for klass are:

  • 'double': loads 2-way DOUBLE variable {default},
  • 'cell': loads CELL variable,
  • 'char': loads 2-way CHAR variable,
  • 'struct': loads a STRUCT variable,
  • 'dataset': loads a DATASET object,
  • 'doubdataset': loads a 2-way DOUBLE or DATASET, or
  • '*': loads any class and size variable.

Optional text input message places a message in the load dialog box.

Outputs include value the value of the selected variable, name the original name of the variable, and location the filename from which the variable was loaded (will be empty if loaded from the base workspace).

See Also

erdlgpls, svdlgpls