Scilab 5.5.2
- Scilab Help
- Xcos
- Scilab Utilities Functions
- %MODELICA_USER_LIBS
- block_parameter_error
- buildouttb
- getModelicaPath
- importXcosDiagram
- loadScicos
- loadXcosLibs
- scicos_debug
- scicos_getvalue
- standard_inputs
- standard_origin
- standard_outputs
- var2vec
- vec2var
- xcosAddToolsMenu
- xcosPal
- xcosPalAdd
- xcosPalAddBlock
- xcosPalDelete
- xcosPalExport
- xcosPalGenerateAllIcons
- xcosPalMove
- xcosUpdateBlock
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
var2vec
Transform a scilab variable in a vector of double
Calling Sequence
[vec]=var2vec(var)
Module
Description
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)
Arguments
var : Input parameter. Can be any types of Scilab objects.
vec : Output parameter. A vector of real numbers.
Example
Report an issue | ||
<< standard_outputs | Scilab Utilities Functions | vec2var >> |