[Scilab-users] Variable browser

classic Classic list List threaded Threaded
3 messages Options
FMR FMR
Reply | Threaded
Open this post in threaded view
|

[Scilab-users] Variable browser

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
_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Samuel GOUGEON Samuel GOUGEON
Reply | Threaded
Open this post in threaded view
|

Re: Variable browser for structures

Hello,

Le 31/10/2018 à 11:48, FMR a écrit :
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


_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
FMR FMR
Reply | Threaded
Open this post in threaded view
|

Re: Variable browser for structures

Thank you Samuel!



--
Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users