title: Is it possible to have Variable-Size Signals in C MEX S-Function?
body: <p>I know that it is possible to write <strong>Level-2 MATLAB</strong>  S-Functionswith variable-sized signals. 
  Is it also somehow possible to do that in <strong>C MEX</strong> S-Functions?</p>
  
  <p>My data has a different size at each time step. This requirement originates from a compressing block which gets a fixed size signal (2D) as its input. However  the output signal (1D / Vector) changes its size at every mdlOutput().</p>