name mismatch error when build the model using embedded coder

16 vues (au cours des 30 derniers jours)
Hamid Toutounchian
Hamid Toutounchian le 29 Nov 2023
Réponse apportée : CP le 11 Sep 2024
when I build the model I get the name mismatch error for two calibratable signals . The signals are in the data dictionary , and I use them in the model by pulling from the dd with the same name . can anyone point me out what possibly cause this error?

Réponse acceptée

CP
CP le 11 Sep 2024
Delete all generated code files (slprj folder etc) that are on the matlab path and make sure the "current folder" is correct.
I had this same issue and it seems to have been caused by conflicts with the generated code files.
Remember that matlab will generate build files in the "current folder", so if you had accidentally tried to build the model in another location that is on the matlab path it will cause conflicts.

Plus de réponses (0)

Catégories

En savoir plus sur Embedded Coder dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by