Why do all variant models build in accelerator mode when generate preprocessor conditionals is selected?
Show older comments
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
Accepted Answer
More Answers (0)
Categories
Find more on Variant Hierarchical Components in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!