Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.5.2 - Français

Change language to:
English - 日本語 - Português - Русский

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

Aide de Scilab >> Xcos > Fonctions utilitaires Scilab > xcosUpdateBlock

xcosUpdateBlock

Met à jour un bloc.

Séquence d'appel

xcosUpdateBlock(blk)

Module

Description

Met à jour un bloc dans un diagram ouvert

  • blk : Le bloc a mettre à jour. La variable à le type scicos_block.

Cette fonction a été introduite en 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
<< xcosAddToolsMenu Fonctions utilitaires Scilab buildouttb >>

Copyright (c) 2022-2023 (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:21:52 CEST 2015