Scilab-Branch-6.1-GIT
- Ajuda do Scilab
- Xcos
- scilab_utilities_functions
- block_parameter_error
- buildouttb
- getModelicaPath
- importXcosDiagram
- loadScicos
- loadXcosLibs
- %MODELICA_USER_LIBS
- scicos_debug
- scicos_getvalue
- scicos_log
- scicosDiagramToScilab
- 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
scicosDiagramToScilab
Load or Save an Xcos diagram
Syntax
scs_m = scicosDiagramToScilab(filename) [scs_m1, scs_m2, ...] = scicosDiagramToScilab([filename1, filename2, ...]) scicosDiagramToScilab(filename, scs_m) scicosDiagramToScilab([filename1, filename2, ...], scs_m1, scs_m2)
Arguments
scs_m: The scicos_diagram data structure.
filename: The Xcos file to load.
Description
Used to load and save a diagram in scripts in NWNI / CLI mode.
To load some files into Scilab as an scicos_diagram data structure, use one or multiple output variables. The variable can then be manipulated in Scilab to launch a simulation, update context, settings or blocks.
To save a file from Scilab, pass some scicos_diagram data structures as input parameters. The output file format is selected accordingly to the files extension.
Examples
filename=SCI+"/modules/xcos/demos/demo_Datatype.xmi"; scs_m=scicosDiagramToScilab(filename),
See also
Report an issue | ||
<< scicos_log | scilab_utilities_functions | standard_define >> |