var2vec — Transform a scilab variable in a vector of double
[vec]=var2vec(var)
var2vec / vec2var functions are used inside the interfacing functions of Scilab blocks to give the possibility to the user to handle Scilab objects with the real parameter (rpar) and with the discrete state register (z).
[vec]=var2vec(var)
var : Input parameter. Can be any types of Scilab objects.
vec : Output parameter. A vector of real numbers.