1
.TH check_io "Janvier 1997" "Scilab Group" "Scicos function"
4
check_io - Checks and sets Scicos block port numbers.
7
[model,graphics,ok]=check_io(model,graphics,in,out,clkin,clkout)
12
: Scicos model data structure (see scicos_model)
15
: Scicos graphics data structure (see scicos_graphics)
18
: vector of regular input port sizes. Set \fVin=[]\fR in no regular
22
: vector of regular output port sizes. Set \fVout=[]\fR in no regular
26
: vector of event input port sizes. Set \fVclkin=[]\fR in no event
30
: vector of event output port sizes. Set \fVclkout=[]\fR in no event
34
: boolean, \fV%t\fR if specified input/output have been correctly set.
35
\fV%f\fR if specified input/output cannot be taken into account.
38
This function is to be called when number of regular or event input or
39
output ports is modified. It check if it is possible (connected ports
40
cannot suppressed) and updates \fV model\fR and \fV graphics\fR block
41
substructures. \fV in\fR,\fV out\fR,\fV clkin\fR,\fV clkout\fR are
42
the vectors of port sizes for respectively the regular inputs, regular
43
outputs, event inputs and event outputs.
45
Negative values in \fV in\fR or \fV out\fR vector means that
46
corresponding ports dimension are to be determined by the context. Two
47
equal negative values means that corresponding ports have same size.
50
scicos_block, scicos_model, scicos_graphics