Using model reference with different system target files
Ältere Kommentare anzeigen
I have multiple hardware targets and want to be able to build the same model to these targets.
Each hardware target has its own top level model where I use hardware target specific blocks for input and output to other hardware. By using model reference block I include a non hardware specific model that holds my logic. When using model reference each model has its own Configuration set and these need to match the top model.
I would like to be able to build for my different targest without making changes to the referenced models.
What I have tried is to add my configurations to each model via "Add Configuration Reference" in Model Explorer and then use setActiveConfigSet() function in each init script for my different target hardware. However when I try to build I get error due to unsaved changes in the models I have referenced.
Is there a way to switch configuration sets in the referenced models with out saving the setting to each model?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Texas Instruments C2000 Processors finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


