Main Content

Check undefined subsystem initial output

Option to issue warning when models contain conditionally executed subsystems with undefined initial output values

Model Configuration Pane: Diagnostics

Description

The Check undefined subsystem initial output parameter specifies whether the software issues a warning when a model contains a conditionally executed subsystem that has an undefined initial output value. An initial output value is undefined when a block that has a specified initial condition drives an Outport block that has an undefined initial condition (Initial Output parameter is set to []). For more information, see Initial output.

Dependencies

To enable this parameter, set Underspecified initialization detection to Classic.

Settings

on (default) | off
on

The software issues a warning if the model contains a conditionally executed subsystem in which a block that has a specified initial condition drives an Outport block with an undefined initial condition.

off

The software does not issue a warning if the model contains a conditionally executed subsystem in which a block that has a specified initial condition drives an Outport block with a defined initial condition.

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionOn

Programmatic Use

Parameter: CheckSSInitialOutputMsg
Type: string | character vector
Values: 'on' | 'off'
Default: 'on'

Version History

Introduced in R2008b