How to use mex command to compile simulink generated code files ?

Hello,
I have some code files for a model generated by Embedded coder in Maltab 2017b. I am working on some application where I need to see weather the generated code (including external dependacies) can be compiled using mex command.
I have tried using below command,
mex <model_name>.c
But the execution gets aborted stating that, undefined reference to '<atomic_subsystem_function_name>' error : Id returned 1 exit status.
Let me know, if this is the correct way of compiling generated code.
Thanks,
Shiva

回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Deployment, Integration, and Supported Hardware についてさらに検索

製品

リリース

R2017b

タグ

質問済み:

2019 年 1 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by