MATLAB Function Reference |
Display file selection dialog box with appropriate file filters
Syntax
Description
uiopen
displays a file selection dialog from which a user can select a file to open. The dialog is the same as the one displayed when you select Open from the File menu in the MATLAB desktop.
Selecting a file in the dialog and clicking Open does the following:
Note
uiopen cannot be compiled. If you want to create a file selection dialog that can be compiled, use uigetfile .
|
uiopen
, or uiopen('MATLAB')
displays the dialog with the file filter set to all MATLAB files.
uiopen('LOAD')
displays the dialog with the file filter set to MAT-files (*.mat).
uiopen('FIGURE')
displays the dialog with the file filter set to figure files (*.fig).
uiopen('SIMULINK')
displays the dialog with the file filter set to model files (*.mdl).
uiopen('EDITOR')
displays the dialog with the file filter set to all MATLAB files except for MAT-files and FIG-files. All files are opened in the MATLAB Editor.
Examples
Typing uiopen('figure')
sets the Files of type field to Figures (*.fig)
:
See Also
uigetfile
, uiputfile
, uisave
uint8, uint16, uint32, uint64 | uipanel |
© 1994-2005 The MathWorks, Inc.