Scilab 5.5.2
- Aide de Scilab
- Xcos
- Fonctions utilitaires Scilab
- %MODELICA_USER_LIBS
- block_parameter_error
- xcosAddToolsMenu
- xcosUpdateBlock
- buildouttb
- getModelicaPath
- importXcosDiagram
- loadScicos
- loadXcosLibs
- scicos_debug
- scicos_getvalue
- standard_inputs
- standard_origin
- standard_outputs
- var2vec
- vec2var
- xcosPal
- xcosPalAdd
- xcosPalAddBlock
- xcosPalDelete
- xcosPalExport
- xcosPalGenerateAllIcons
- xcosPalMove
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
xcosPal
Instanciate a new Xcos palette on Scilab.
Calling Sequence
pal = xcosPal(); pal = xcosPal(name); pal = xcosPal(scs_m); pal = xcosPal([], scs_m); pal = xcosPal(name, scs_m);
Arguments
- name:
string; the optional palette name
- scs_m:
diagram mlist; the optional source diagram
- pal:
palette tlist; the palette instance
Description
Instanciate a new palette diagram.
The optional name argument can be used to set a name to the palette. The optional scs_m argument can be used to import diagrams as palettes.
Examples
loadXcosLibs(); // from scratch pal = xcosPal("My sum palette"); pal = xcosPalAddBlock(pal, "SUM_f"); pal = xcosPalAddBlock(pal, "BIGSOM_f"); xcosPalAdd(pal); // from an old palette exec(SCI + "/modules/scicos/palettes/Integer.cosf", -1); pal = xcosPal(scs_m); xcosPalAdd(pal);
See also
- xcosPal — Instanciate a new Xcos palette on Scilab.
- xcosPalAddBlock — Add a block to a Scilab/Xcos palette instance. Some optional properties can be added to customize the palette icon and the style of the block.
Report an issue | ||
<< vec2var | Fonctions utilitaires Scilab | xcosPalAdd >> |