Info

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

MEX-File in a M-File

2 views (last 30 days)
Alex
Alex on 14 Jun 2013
Closed: MATLAB Answer Bot on 20 Aug 2021
Hello, my question is how can i embed a MEX-File(code generated form a Simulink Subsystem ) in a M-File? Is that feasible? Thanks for each help

Answers (1)

Kaustubha Govind
Kaustubha Govind on 14 Jun 2013
Are you using the S-function target to generate the MEX-file from the Simulink model? If so, I don't think you can call into it directly from MATLAB, because it can only be invoked by the Simulink Engine.

This question is closed.

Products

Community Treasure Hunt

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

Start Hunting!