Le 24/06/2015 05:45, fujimoto2005 a écrit :
Thanks for reply.

Let me take another example.
The following script fails because x is made as a 1×2×3 hyper matrix and I
can't use 4th and 5th indexes.
In my actual code, the number of 4th and 5th dimensions are variable and I
cant't know in advance.

x=zeros(1,2,3,1,1);
disp(size(x))
a=x(1,1,1,1,1)
It is a known behavior, reported for instance here for Scilab 5.5 : http://bugzilla.scilab.org/13237
It is fixed in Scilab 6 (so-called YaSp).

Regards

_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users

Reply via email to