Execute-at-Initialization disabled in presence of input events
Description
Select the diagnostic action to take when Stateflow® detects
triggered or enabled charts that are not running at initialization.
When the chart does not execute at initialization, then the chart
default transitions are processed at the first input event. Until
then, any data that you initialize in the chart or active state data
is not valid at time 0
.
To initialize the chart configuration at time 0
rather
than at the first input event, select the chart property Execute
(enter) Chart At Initialization.
Category: Diagnostics
Settings
Default: warning
none
No warning or error appears.
warning
A warning appears.
error
An error appears and stops the simulation.
Command-Line Information
Parameter: SFExecutionAtInitializationDiag |
Value: 'none' | 'warning' | 'error' |
Default: 'warning' |
Recommended Settings
Application | Setting |
---|---|
Debugging | error |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | error |