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

Change language to:
English - Français - 日本語 - Русский
Ajuda do Scilab >> Xcos > scilab_utilities_functions > standard_define

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
<< scicosDiagramToScilab 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:
Tue Feb 25 08:52:42 CET 2020