Define a block from its interface as in Xcos editor.
[block] = standard_define(sz, model, exprs)
[height, width]size of the block.
The part of the block that define its simulation interface.
The graphics.exprs default parameters expressions.
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.
- 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 >>|