check_io - Checks and sets Scicos block port numbers.
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.