How can I get rid of the input and output ports of the S-Function block? The block the I wanna create does not need it since it is an initialization block the only inputs are entered using mask parameters.
I have a couple of questions. Are you using MATLAB S-Function or C S-Function block? Could you be more clear on what kind of initialization you intend to do? I am afraid S-Function blocks are not required for this purpose.