Azzera filtri
Azzera filtri

Compiler problems with Model Referencing

8 visualizzazioni (ultimi 30 giorni)
Hernández García Ángel
Risposto: Keith Rogers il 2 Mar 2020
Hi all,
When I tried to run my Simulink model in Accelerator mode, it gives me the following error message:
"The model 'Cheste_Microgrid_RMS_v8' is configured to use the compiler 'MinGW64 Compiler (C): Toochain', however the referenced model 'Cell_Temperature' was built with 'LCC64:TMF' which is not compatible for a model reference hierarchy build. Consider configuring all modules to use the same compiler. The Build Process will terminate".
Then, If I run the Simulink Model in Normal mode, it didn't give me these errors and the simulation is completed successfully. I have tried to check "mex -setup" and the compiler working 'MinGW64 Compiler (C)' and I don't understand why Simulink when it's loading the model it doesn't compile the Model Reference 'Cell_Temperature' as the main model 'Cheste_Microgrid_RMS_v8'. I also have tried to run Performance Advisor and it is not able to fix the problem.
King Regards,
  2 Commenti
Syed Hussain
Syed Hussain il 18 Feb 2019
Hi
Where you able to solve this issue.? I am also facing this issue with model referencing.
Regards
Pablo Nanez
Pablo Nanez il 6 Mar 2019
Same here, my simulation was running ok, and I start getting this error after I installed MinGW-w64 Compiler from https://www.mathworks.com/matlabcentral/fileexchange/52848-matlab-support-for-mingw-w64-c-c-compiler

Accedi per commentare.

Risposte (1)

Keith Rogers
Keith Rogers il 2 Mar 2020
I tried doing what it suggested and copied the contents into new files. That resolved the problem for me.

Community Treasure Hunt

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

Start Hunting!

Translated by