Simulink/stateflow code generation - putting model name in variable prefixes, how to stop this?
Ältere Kommentare anzeigen
In code generation from a model, the generated code puts the model name and variable type as a prefix for the variable.
For example,
for a variable which I want to be called ""MTR_PORT_LED1", in the generated code it becomes "M69_B.MTR_PORT_LED1", where M69 is the model name and b (i assume) is the data type (boolean).
Is there a way to configure code generate such that it does not apply this prefix for the variable name?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Deployment, Integration, and Supported Hardware 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!