Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes


standard_define

Define a block from its interface as in Xcos editor.

Syntax

[block] = standard_define(sz, model, exprs)

Arguments

block

xcos block.

sz

[height, width] size of the block.

model

The part of the block that define its simulation interface.

exprs

The graphics.exprs default parameters expressions.

Description

This Scilab function is an helper used to allocate an Xcos block from an interfacing functions using a computed graphics from a model interface. It ensures that the ports match, that the size is similar to standard blocks and set the gui field.

See also

Report an issue
<< scicos_log Scilab Utilities Functions standard_inputs >>

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:
Mon Nov 07 15:06:10 CET 2022