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
xcosPalAdd
Add a palette to the Scilab/Xcos palette manager. Optional property can be added to set the category of the palette.
Syntax
xcosPalAdd(pal); xcosPalAdd(pal, category); status = xcosPalAdd(pal); status = xcosPalAdd(pal, category); [status, msg] = xcosPalAdd(pal); [status, msg] = xcosPalAdd(pal, category);
Arguments
- pal:
palette tlist or path string; the palette to add
- category:
string array; the optional category path to use
- status:
boolean; the status of the operation
- msg:
string; the error message
Description
After setting the blocks into the palette, the user add this function to add a Scilab palette to the Xcos palette manager.
The optional category argument can be used to add the palette to a customized category path. If not specified, the root category is used.
Examples
loadXcosLibs(); pal = xcosPal(); pal = xcosPalAddBlock(pal, "SUM_f"); pal = xcosPalAddBlock(pal, "BIGSOM_f"); xcosPalAdd(pal, "my Summation blocks")
See also
- xcosPal — Instantiate 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 | ||
<< xcosPal | scilab_utilities_functions | xcosPalAddBlock >> |