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

Description

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.

Settings

warning | error | none
warning

The software issues a warning.

error

The software issues an error and terminates the simulation.

none

The software does not issue a diagnostic.

Recommended Settings

ApplicationSetting
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