Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.5.2 - Русский

Change language to:
English - Français - 日本語 - Português -

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

Справка Scilab >> Xcos > Scilab Utilities Functions > xcosUpdateBlock

xcosUpdateBlock

Update a block instance

Calling Sequence

xcosUpdateBlock(blk)

Module

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)");

Authors

Clément David - Scilab Enterprises

Report an issue
<< xcosPalMove Scilab Utilities Functions Solvers >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Apr 01 10:27:29 CEST 2015