Why do all variant models build in accelerator mode when generate preprocessor conditionals is selected?
이전 댓글 표시
I want to run my model reference variants in accelerator mode. When I compile the parent model, I only want the variants selected by the variant conditions to be built. However, when 'Generate preprocessor conditionals' is turned on, all the variant models are built. The documentation here
states that this setting should only be relevant for code generation. I do want Simulink to generate all the variant code for code generation, but not for accelerator mode. Is this a bug or does accelerator mode somehow fall under code generation even though it is a different license?
I've tested this with the rtwdemo_preprocessor.mdl example for reference and see this behavior there as well.
Thanks, Chris
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Variant Hierarchical Components에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!