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