I just compiled a C MEX function and am trying to create an S-Function using it. However, after entering it into the S-Function block and pressing play, the model goes into "Initializing" mode and just stays like that. I have left it on for hours with no progress whatsoever. And I have to close MATLAB in order to get it to stop. What does this mean?
MATLAB: Simulink Model Stuck Initializing
mexs-functionsimulink
Related Question
- Mex-function crashes under Windows, but runs fine under Mac and Linux
- Define several functions in s-function builder
- Do I lose port information when I make a copy of the S-function builder block in Simulink
- Am I unable to use Simulink Accelerator 6.0 (R14) and Simulink Accelerator 6.1 (R14SP1) on a model that has an S-function block
Best Answer