Invalid input data access in chart initialization
Diagnostic action to take when invalid input data access in chart initialization is detected
Model Configuration Pane: Diagnostics
Description
The Invalid input data access in chart initialization parameter specifies the diagnostic action to take when a chart:
Has the
ExecuteAtInitialization
property set totrue
Accesses input data on a default transition or associated state entry actions, which execute at chart initialization
In this chart configuration, blocks that connect to chart input ports might not initialize their outputs during initialization. To locate this configuration in your model and correct it, use this diagnostic.
When using Embedded Coder® for a component model configured with a service interface, you cannot configure this parameter.
In charts that do not contain states, the
ExecuteAtInitialization
property has no effect.
Settings
warning
(default) | none
| error
none
No warning or error appears.
warning
A warning appears.
error
An error appears and stops the simulation.
Recommended Settings
Application | Setting |
---|---|
Debugging | warning |
Traceability | No impact |
Efficiency | No impact
(for simulation) No impact (for production code generation) |
Safety precaution | error |
Programmatic Use
Parameter:
SFInvalidInputDataAccessInChartInitDiag |
Value:
'none' | 'warning' |
'error' |
Default:
'warning' |
Version History
Introduced in R2010a