Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: Français - Português - 日本語 - Русский

Please note that the recommended version of Scilab is 6.0.2. This page might be outdated.
See the recommended documentation of this function

Scilab Help >> Xcos > Scilab Utilities Functions > xcosUpdateBlock


Update a block instance

Calling Sequence




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) ;
xcosAddToolsMenu("update block", "myExternalFunction(blk, scs_m)");


Clément David - Scilab Enterprises

Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Apr 01 10:14:06 CEST 2015