Please note that the recommended version of Scilab is 6.0.0. This page might be outdated.
See the recommended documentation of this function
Transform a vector of double in a scilab variable
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 register of real parameters (rpar) and with the discrete state register (z).
vec : Input parameter. A vector of real numbers.
var : Output parameter. Can be any types of Scilab objects.