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 Comments

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.

Sign in to comment.

Answers (0)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Products

Release

R2013b

Asked:

on 28 Sep 2018

Commented:

on 8 Feb 2019

Community Treasure Hunt

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

Start Hunting!