Scicos function

check_io - Checks and sets Scicos block port numbers.

Calling Sequence

[model,graphics,ok]=check_io(model,graphics,in,out,clkin,clkout)

Parameters

Description

This function is to be called when number of regular or event input or output ports is modified. It check if it is possible (connected ports cannot suppressed) and updates model and graphics block substructures. in, out, clkin, clkout are the vectors of port sizes for respectively the regular inputs, regular outputs, event inputs and event outputs.

Negative values in in or out vector means that corresponding ports dimension are to be determined by the context. Two equal negative values means that corresponding ports have same size.

See Also