Open standard dialog box for selecting and saving file.
PathFileName = uiputfile() PathFileName = uiputfile(file_mask) PathFileName = uiputfile(file_mask, dir) PathFileName = uiputfile(file_mask, dir, boxTitle) [PathFileName, Path] = uiputfile(..) [PathFileName, Path, FilterIndex] = uiputfile(..)
Matrix of strings providing the file masks to use for file selection.
file_mask
is written with Unix conventions.
The default value is '*'.
A description of each mask may be provided in column#2 and displayed, for example ["*.xcos|*.zcos*","Xcos files"; "*.scg", "Scilab graphics"].
a character string which gives the initial directory used for file search. By default uiputfile uses the previously selected directory.
a character string which gives the title of the uiputfile window. By default uiputfile's title is 'uiputfile'.
String which gives the user selected file (path + file name) if the user
quits with "OK"
, or " "
if the user quits
with "Cancel"
.
is the user selected file path if user answers "Ok" or the " " string if user answers "Cancel".
is the user selected filter index on the list box if the user quits with
"OK"
, or "0"
if the user quits with
"Cancel"
.
Creates a dialog window for file saving.