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 Exchange 中查找有关 Simulink Coder 的更多信息

产品

版本

R2013b

Community Treasure Hunt

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

Start Hunting!

Translated by