Header file is not compiling
Ältere Kommentare anzeigen
Hello,
in my data dictionary I defined an enumeration with Data Scope "Imported" and a header file. In the header file there are a bunch of enumerations/structs defined, not only the one used in Simulink (because it's importet from other source code). The header file is stated in the configuration in "Simulation Target" -> "Custom Code". When I want to compile I get an error, because in the header file there are enumerations/structs which Simulink does not know. But I want Simulink to search only for the enumerations I have specified in my data dictionary and not care about other stuff in the header file. Is there a way how to handle that?
Thank you
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu View and Analyze Simulation Results finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!