Discussion:
[Scilab-users] Variable browser
FMR
2018-10-31 10:48:06 UTC
Permalink
Hi,

I'm a new SciLab user and have a question concerning the Variable Browser. I
know in Matlab it is possible to open a structure with double-click and
visualize all variable of the structure (I think it is useful for a quick
verification).
But in SciLab, when a double-click in the structure, I have a warning
message "Variables of type "st" can not be edited."

Could you indicate me how to simply visualize and navigate in a structure
(if possible) without write it in the console?

Thank you.



--
Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
Samuel Gougeon
2018-10-31 12:40:51 UTC
Permalink
Hello,
Post by FMR
Hi,
I'm a new SciLab user and have a question concerning the Variable Browser. I
know in Matlab it is possible to open a structure with double-click and
visualize all variable of the structure (I think it is useful for a quick
verification).
But in SciLab, when a double-click in the structure, I have a warning
message "Variables of type "st" can not be edited."
Could you indicate me how to simply visualize and navigate in a structure
(if possible) without write it in the console?
tree_show() does it. Example:

s.r = grand(2,3,"uin",-9,9);
s.p = [1+%z -%z^2; 2*%z^3 -1];
s.t = ["hi" "hello";"allo" "holĂ "];
s.b = rand(1,4)<0.5;
s.L=list("Scilab", %i, %f)
tree_show(s)

--> s.L=list("Scilab", %i, %f)
s =
r: [2x3 constant]
p: [2x2 polynomial]
t: [2x2 string]
b: [1x4 boolean]
L: list



HTH
Samuel
FMR
2018-10-31 13:28:44 UTC
Permalink
Thank you Samuel!



--
Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
Loading...