MEX-File in a M-File

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

0 votes

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

Asked:

on 14 Jun 2013

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!