Main Content

Variant activation time inherited from Simulink.VariantControl

Diagnostic behavior when variant blocks that inherit activation time from Simulink.VariantControl have no value to inherit

Since R2022b

Model Configuration Pane: Diagnostics


The Variant activation time inherited from Simulink.VariantControl parameter specifies the diagnostic behavior when the Variant activation time parameter for a variant block is set to inherit from Simulink.VariantControl but the block has no Simulink.VariantControl variant control variables from which to inherit activation time.


warning | error | none

The software issues a warning.


The software issues an error and terminates the simulation.


The software does not issue a diagnostic.

Recommended Settings

DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Programmatic Use

Parameter: InheritVATfromSVC
Type: string | character vector
Values: 'none' | 'warning' | 'error'
Default: 'warning'

Version History

Introduced in R2022b

See Also