Clear Filters
Clear Filters

name mismatch error when build the model using embedded coder

12 views (last 30 days)
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?

Answers (1)

CP
CP on 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.

Categories

Find more on Embedded Coder in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!