Scilab 6.0.2
- Scilab Help
- Xcos
- Scilab Utilities Functions
- %MODELICA_USER_LIBS
- block_parameter_error
- buildouttb
- getModelicaPath
- importXcosDiagram
- loadScicos
- loadXcosLibs
- scicosDiagramToScilab
- scicos_debug
- scicos_getvalue
- scicos_log
- standard_define
- standard_inputs
- standard_origin
- standard_outputs
- var2vec
- vec2var
- xcosAddToolsMenu
- xcosDiagramToScilab
- 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
vec2var
Transform a vector of double into a scilab variable
Syntax
var = vec2var(vec)
Arguments
vec: input parameter. A vector of real numbers.
var: output parameter. Can be any types of Scilab objects.
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 register of real parameters (rpar) and with the discrete state register (z).
var = vec2var(vec)
Example
See also
- var2vec — Transform a scilab variable into a vector of double
Report an issue | ||
<< var2vec | Scilab Utilities Functions | xcosAddToolsMenu >> |