ert_main.cpp build to exe

1 回表示 (過去 30 日間)
Mohammed Kagalwala
Mohammed Kagalwala 2022 年 11 月 1 日
回答済み: Mohammed Kagalwala 2022 年 11 月 3 日
Hi,
This is a long shot, but is there a way to compile the ert_main.cpp to an executable from within the Matlab command window? I recall previously using a single line of code to compile my augmented ert_main.cpp, however I can't remember what it was exactly. I recall something like
"!build ...." or maybe "!system"
Thank you

採用された回答

Mohammed Kagalwala
Mohammed Kagalwala 2022 年 11 月 3 日
I recall now. The correct command is
!model_name.bat
where mode_name is the name of the Simulink model file you have auto coded. Prior to running this command navigate to the generated "_ert_rtw" folder, then run the above command. This will generate a model_name.exe executable outside of this folder.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB Compiler についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by