Hello,

I use multiple variables with names given in a matrix, or vector

> x=["a","b","c","d","e"];

I can easily use the variable with the function eval in math expression

> 2*eval(x(1))+1

But if I want

> a=1;

How can I do this using the vector x only? I try

> execstr("x(1)=1")

but the answer is "Pas encore implémenté dans Scilab...", with Scilab 5.3.3.

Thanks,

Jean-Yves
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to