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 — ハイブリッドシミュレータ用のブロック図エディタおよびGUI
- xcosAddToolsMenu — Add a menu item into the Xcos "Tools" menu.
- scicos_block — Define a block structure
- scicos_diagram — scs_m構造体の定義
Report an issue | ||
<< xcosPalMove | Scilab Utilities Functions | Solvers >> |