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
xcosUpdateBlock
Update a block instance
Syntax
xcosUpdateBlock(blk)
Description
Update a block on a currently opened diagram.
blk : The block to update. The variable has a scicos_block type.
This function has been introduced in Scilab 5.4.0.
function myExternalFunction(blk, scs_m) execstr('[ok, blk] = ' + blk.gui + '(''set'', blk)'); xcosUpdateBlock(blk); endfunction xcosAddToolsMenu("update block", "myExternalFunction(blk, scs_m)");
See also
- xcos — Block diagram editor and GUI for the hybrid simulator
- xcosAddToolsMenu — Add a menu item into the Xcos "Tools" menu.
- scicos_block — Define a block structure
- scicos_diagram — Define a scs_m structure
Report an issue | ||
<< xcosPalMove | scilab_utilities_functions | Scilab/Xcos Data Structures >> |