- Ajuda do Scilab
- IGU
- Borders
- Layouts
- uitree
- Editor Interativo
- about
- addmenu
- clipboard
- close
- Console properties
- createWindow
- delmenu
- exportUI
- figure
- findobj
- gcbo
- getcallbackobject
- getinstalledlookandfeels
- getlookandfeel
- getvalue
- loadGui
- messagebox
- printfigure
- printsetupbox
- progressionbar
- root_properties
- saveGui
- setlookandfeel
- setmenu
- toolbar
- toprint
- tree_show
- uicontextmenu
- uicontrol
- uicontrol properties
- uigetcolor
- uigetdir
- uigetfile
- uigetfont
- uimenu
- uimenu properties
- uiputfile
- unsetmenu
- usecanvas
- waitbar
- x_choices
- x_choose
- x_choose_modeless
- x_dialog
- x_matrix
- x_mdialog
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
x_mdialog
Dialog for interactive vector/matrix input.
Calling Sequence
result=x_mdialog(title,labels,default_inputs_vector) result=x_mdialog(title,labelsv,labelsh,default_input_matrix)
Arguments
- title
column vector of strings, dialog general comment
- labels
n column vector of strings,
labels(i)
is the label of the ith required value- default_input_vector
n column vector of strings,
default_input_vector(i)
is the initial value of the ith required value- labelsv
n vector of strings,
labelsv(i)
is the label of the ith line of the required matrix- labelsh
m vector of strings,
labelsh(j)
is the label of the jth column of the required matrix- default_input_matrix
n x m matrix of strings,
default_input_matrix(i,j)
is the initial value of the (i,j) element of then required matrix- result
n x m matrix of string if returned with "Ok" button or [] if returned with "Cancel" button
Description
Opens a dialog for interactive vector/matrix input.
Examples
txt = ['magnitude';'frequency';'phase ']; sig = x_mdialog('enter sine signal',txt,['1';'10';'0']) mag = evstr(sig(1)) frq = evstr(sig(2)) ph = evstr(sig(3))
rep = x_mdialog(['System Simulation';'with PI regulator'],... ['P gain';'I gain '],[' ';' '])
See Also
Report an issue | ||
<< x_matrix | IGU | Estruturas de Dados >> |