Underspecified initialization detection
How software determines initial conditions for subset of Simulink blocks that have underspecified initial conditions
Model Configuration Pane: Diagnostics / Data Validity
Description
The Unspecified initialization detection parameter specifies how the software determines the initial conditions for blocks that have underspecified initial conditions. The software determines the initial condition for conditionally executed subsystems, Merge blocks, subsystem elapsed time, and Discrete-Time Integrator blocks when the model does not fully specify the initial conditions.
Settings
Simplified
(default) | Classic
Simplified
The software determines initial conditions using an enhanced algorithm that can improve the consistency of simulation results, especially in models that:
Do not specify initial conditions for output ports of conditional subsystems
Contain conditionally executed subsystems that provide inputs for S-functions
For more information, see Simplified Initialization Mode.
To update your model to use the simplified initialization mode, run these Model Advisor checks:
For more information, see Convert from Classic to Simplified Initialization Mode.
Classic
The software determines initial conditions the same way it does for versions prior to R2008b.
For more information, see Classic Initialization Mode.
Recommended Settings
Application | Setting |
---|---|
Debugging | Simplified |
Traceability | Simplified |
Efficiency | Simplified |
Safety precaution | Simplified |
Programmatic Use
Parameter: UnderspecifiedInitializationDetection |
Type: string | character vector |
Values:
'Classic' | 'Simplified'
|
Default: 'Simplified' |
Version History
Introduced in R2008b
See Also
Merge | Discrete-Time Integrator
Topics
- Convert from Classic to Simplified Initialization Mode
- Conditional Subsystem Initial Output Values
- Conditionally Executed Subsystems and Models
- Simplified Initialization Mode
- Classic Initialization Mode
- Conditional Subsystem Output Values When Disabled
- Diagnosing Simulation Errors
- Data Validity Diagnostics