Simulink C code generation vs MEX files

When generating C code from a Simulink model containing normal-mode references to other models, I can see that MEX files are created in the process for those other models.
As far as I understand, those MEX files are usually created when compiling a model which references other models in accelerator mode. Therefore I don't understand the need to create them when generating C code for a parent model having no accelerator-mode references.
Can anyone explain why this is necessary? If not, how can I bypass the creation of those MEX files when generating code?

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Simulink Coder 的更多信息

产品

版本

R2013a

提问:

2019-1-8

编辑:

2019-1-8

Community Treasure Hunt

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

Start Hunting!

Translated by