Info

This question is closed. Reopen it to edit or answer.

Using simulink generated mex file with m-file

1 view (last 30 days)
Sashank Vedula
Sashank Vedula on 20 Oct 2015
Closed: MATLAB Answer Bot on 20 Aug 2021
Hi I have a mex32 file generated from a Simulink model. I wanted to call this in an m-file. The number of input arguments to the model are more than 50. In such case, what should be the syntax to call the mex file? When I try to execute by passing four input arguments, I get the following error.
Invalid flag passed to MEX level2 S-function "sf_sfun"

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!