inputgui 1.0

Operating systemsOS : Windows / Linux / Mac OS / BSD / Solaris
Program licensingScript Licensing : Freeware
CreatedCreated : Oct 9, 2007
Size downloadDownloads : 1
Program licensing
Thank you for voting...

INPUTGUI allows a user to set function parameters ...

inputgui by Tobin Driscoll allows a user to set function parameters through an input dialog window. It's meant to be a replacement for INPUT. Among its virtues is that the dialog popup can be overriden either by accepting defaults or by assigning (some of the) values through the function call. It's also meant to be very easy to use.
The standard calling sequence is
value = inputgui 1.0(name, default, prompt)
Arguments name, default, and prompt are identically sized cell arrays of strings. They define the names, default values, and interactive prompt strings for the parameters, which are assumed to be numerical.
On exit, each parameter value will be assigned *in the caller's workspace*.
inputgui [inputgui1.0.exe](name, default, prompt, isstring) adds a logical vector that designates corresponding parameters as strings.
inputgui - 0MB(. . . , action) modifies the behavior:
'default': Default values are returned for all parameters (no dialog is opened).
struct: Each parameter will have the default value unless overridden by a field of the same name (no dialog).
[]: Standard behavior.
For example, suppose you wrote the function
function y = inputtest(varargin)
name = { 'Moe', 'larry', 'Curly' };
default = { '1/pi', '[-1 0 1]', 'silly' };
prompt = { 'Value of Moe', 'Value of Larry', 'Value of Curly' };
isstring = logical( [0 0 1] );
vals = inputgui 1.0(name, default, prompt, isstring, varargin{:})
whos Moe Larry Curly
Then we get
>> inputtest % Brings up a dialog. Press OK and. . .
vals =
[ 0. 3183]
[1x3 double]
Name Size Bytes Class
Curly 1x5 10 char array
Larry 1x3 24 double array
Moe 1x1 8 double array
>> s. Larry = 16; inputtest(s) % No dialog appears. . .
vals =
[0. 3183]
[ 16]
Name Size Bytes Class
Curly 1x5 10 char array
Larry 1x1 8 double array
Moe 1x1 8 double array
The return argument "value" will be a cell array of the assigned values, as strings. You can assign this to a persistent variable and use it on the next call as the default.
• MATLAB Release: R13

inputgui 1.0 scripting tags: default, larry, inputgui, matlab gui, parameters, dialog, input gui, prompt, development tools, double, values. What is new in inputgui 1.0 software script? - Unable to find inputgui 1.0 news. What is improvements are expecting? Newly-made inputgui 1.1 will be downloaded from here. You may download directly. Please write the reviews of the inputgui. License limitations are unspecified.