1
x_mdialog Scilab Group Scilab Function x_mdialog
3
x_mdialog - Xwindow dialog
6
result=x_mdialog(title,labels,default_inputs_vector)
7
result=x_mdialog(title,labelsv,labelsh,default_input_matrix)
10
: column vector of strings, dialog general comment
13
: n column vector of strings, labels(i) is the label of the ith required
17
: n column vector of strings, default_input_vector(i) is the initial
18
value of the ith required value
21
: n vector of strings, labelsv(i) is the label of the ith line of the
25
: m vector of strings, labelsh(j) is the label of the jth column of the
29
: n x m matrix of strings, default_input_matrix(i,j) is the initial value
30
of the (i,j) element of then required matrix
33
: n x m matrix of string if returned with "Ok" button or [] if returned
37
X-window vector/matrix interactive input function
40
txt=['magnitude';'frequency';'phase '];
41
sig=x_mdialog('enter sine signal',txt,['1';'10';'0'])
46
rep=x_mdialog(['System Simulation';'with PI regulator'],...
47
['P gain';'I gain '],[' ';' '])
50
n=5;m=4;mat=rand(n,m);
51
row='row';labelv=row(ones(1,n))+string(1:n)
52
col='col';labelh=col(ones(1,m))+string(1:m)
53
new=evstr(x_mdialog('Matrix to edit',labelv,labelh,string(mat)))
56
x_dialog, x_choose, x_message , getvalue, evstr, execstr