Group: | GUI functions |
See also: | selectitem |
Function: | readvalue | |
Description: | asks for one or more input values via a dialog box and reads them. |
Usage: | v = readvalue(ValueNames, defaults) | |
Input: | ||
ValueNames | a vector of strings to explain the values | |
defaults | a vector of default values | |
Output: | ||
v | the vector of values entered by the user |
ValueNames = "x=" | "y=" | "z=" defaults = 0 | 0 | 0 v = readvalue(ValueNames, defaults) v
A dialog box opens where you can enter your values. By selectingthe values are read in and stored in a vector v.