Using model reference with different system target files
이전 댓글 표시
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?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Texas Instruments C2000 Processors에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


