Check usage of variant blocks
Check variant block parameters for settings that might result in code that does not trace to requirements.
This check verifies that variant block parameters for code generation are set to trace to requirements.
Available with Simulink® Check™.
Results and Recommended Actions
|The option to generate preprocessor conditionals is selected in one or more variant blocks in the model.||In order to simplify the tracing of code to requirements, consider clearing the option to generate preprocessor conditionals in variant blocks.|
Capabilities and Limitations
Does not run on library models.
Analyzes content of library linked blocks.
Analyzes content in masked subsystems.
Does not allow exclusions of blocks or charts.