standard_outputs
Get the position of the output ports of a block in Xcos editor.
Syntax
[x,y,typ] = standard_outputs(block)
Arguments
- block
xcos block.
- x
x position of the port. When multiple ports are described,
x
is a float vector of x positions.- y
y position of the port. When multiple ports are described,
y
is a float vector of y positions.- typ
determine the type of ports. It can take the following values:
-1
if this is a clock port;1
if this is an explicit port;2
if this is an implicit port. When multiple ports are described,typ
is a vector.
Description
This Scilab function was used by the Scicos blocks interfacing functions
to get the position (x
, y
) of each output port.
This function is not useful for Xcos block interfacing functions anymore.
The Xcos interfacing functions are not called with job="getoutputs" anymore. |
Example
loadXcosLibs(); o1 = DELAYV_f("define"); [x1,y1,typ1] = standard_outputs(o1) o2 = Capacitor("define"); [x2,y2,typ2] = standard_inputs(o2)
See also
- standard_inputs — Get the position of the input ports of a block in Xcos editor.
- standard_origin — Get the position of a block in the Xcos editor.
Report an issue | ||
<< standard_origin | Scilab Utilities Functions | var2vec >> |