Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.4.1 - Português

Change language to:
English - Français - 日本語 - Русский

Please note that the recommended version of Scilab is 2024.1.0. This page might be outdated.
See the recommended documentation of this function

Ajuda Scilab >> IGU > uiputfile


Open standard dialog box for selecting and saving file.

Calling Sequence


Input parameters


a string matrix which gives the file masks to use for file selection. file_mask is written with Unix convention. The default value is '*'.

we can also add descriptions for masks, for example ["*.x*","X files";"*.bin","BIN files"].


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'.

Output parameters


string which give the user selected file (path + file name) if user answers "Ok" or the " " string if user answers "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 user answers "Ok" or '0' string if user answers "Cancel"


Creates a dialog window for file saving.


uiputfile(["*.x*","X files";"*.bin","BIN files"],"SCI/modules/gui/macros/")
uiputfile(["*.sce";"*.bin"],"SCI/modules/gui/macros/", "Choose a file name");

See Also

  • uigetfile — dialog window to get a file(s) name(s), path and filter index
  • uigetdir — dialog for selecting a directory
Report an issue
<< uimenu IGU unsetmenu >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Apr 02 17:37:06 CEST 2013