Getting error when a try to export simulink model with embedded coder, "Undefined function 'ec_mpt_enabled' for input argument of type 'char' ".

Getting error when a try to export simulink model with embedded coder, "Undefined function 'ec_mpt_enabled' for input argument of type 'char' ". It's not model specific. The Matlab I'm working on a closed Linux network with CentOS 7 installed. What could be the source of my problem?

3 件のコメント

did you get a solution? I have the same problem. In a few times it`s possible to build the simulink module without error, but often it is not... And i don't know what i changed.
My Matlab is R2017b on Windows7.
Thanks!
Update: When i start Matlab with a *.m-file and then start simulink and build the modell, i did not get the error. But when i start Matlab with the Matlab.exe i get the error every time of code building.
I haven't gotten a solution. I do know that my error only occurs when I try to generate ERT with an older version of Simulink than I purchased (2013b with purchase of 2017b). I am able to generate ERT code with 2016b.

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSimulink Coder についてさらに検索

製品

リリース

R2013b

質問済み:

2018 年 9 月 28 日

コメント済み:

2019 年 2 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by