Scilab 6.0.0
- 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_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
var2vec
Transform a scilab variable into a vector of double
Syntax
vec = var2vec(var)
Module
Arguments
var: input parameter. Can be any types of Scilab objects.
vec: output parameter. A vector of real numbers.
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)
Example
Report an issue | ||
<< standard_outputs | Scilab Utilities Functions | vec2var >> |