I have two variable sized inputs that are fed into a C MEX S function block. I would like to create a variable sized output signal from the same block. I would like to implement this in my S function code. I run into some generic error messages when I attempt to create a variable sized signal in an S function block, which do not a clear explanation about how to fix my code. The error messages are as follows:
Simulink cannot propagate the variable-size mode from the output port 1 of an input block to the input port 2 of output block. This input port expects a fixed-size mode. Examine the configuration of the final output block for one of the following scenarios: 1) the block does not support variable-size signals; 2) the block supports variable-size signals but needs to be configured for them.
Best Answer