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
- scicos_block — Define a block structure
- standard_inputs — Get the position of the output ports of a block in Xcos editor.
- standard_outputs — Get the position of the output ports of a block in Xcos editor.
- standard_origin — Get the position of a block in the Xcos editor.
Report an issue | ||
<< scicosDiagramToScilab | scilab_utilities_functions | standard_inputs >> |