<< guimaker GUI Tools menumaker >>

GUI Tools >> GUI Tools > inputui

inputui

A single line frontend for x_mdialog, with some additional functionality.

Calling Sequence

Parameters

title_txt :

title text

text :

list() with text labels for each input variable to be retrieved.

values :

optional list() with default values for each input variable.

filename :

optional file name for retrieval of default values stored by a previous call to inputui.

Description

inputui is a front end for the Scilab function x_mdialog which only require a single command line.

Values may be stored between successive calls to inputui within the current Scilab session. The values are stored in the TMPDIR directory as a file named [filename] (see the optional fourth input parameter). Note that these values are only stored during the current Scilab session. Use unique values for [filename] in order to store values for different types of calls to inputui.

Examples

[a,b,c]=inputui('Test',list('a','b','c'),list(1,2,3));  // Single line call...

// Store values between successive calls to inputui...
[a,b]=inputui('Edit a and b',list('a','b'),list(1,2),'inputui_demo')  // change the values for a and b and press OK.
[a,b]=inputui('Test',list('a','b'),list(1,2),'inputui_demo') // default values are now retrieved from TMP\inputui_demo

See also

Authors

<< guimaker GUI Tools menumaker >>