name mismatch error when build the model using embedded coder

5 visualizaciones (últimos 30 días)
Hamid Toutounchian
Hamid Toutounchian el 29 de Nov. de 2023
Respondida: CP el 11 de Sept. de 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?

Respuesta aceptada

CP
CP el 11 de Sept. de 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.

Más respuestas (0)

Categorías

Más información sobre Embedded Coder en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by