Model Verification block enabling - Option to enable or disable model verification blocks - MATLAB (original) (raw)
Main Content
Option to enable or disable model verification blocks
Model Configuration Pane: Diagnostics / Data Validity
Description
The Model Verification block enabling parameter globally enables or disables Model Verification blocks, or enables them depending on the value of the Enable assertion parameter.
When you simulate models or generate code for model verification blocks in S-functions, this parameter does not apply.
Settings
Use local settings
(default) | Enable All
| Disable All
Use local settings
Enables or disables model verification blocks based on the value of theEnable assertion parameter for each block.
Enable All
Globally enables model verification blocks regardless of the value of theEnable assertion parameter.
Disable All
Globally disables model verification blocks regardless of the value of theEnable assertion parameter.
Tips
- To programmatically modify this parameter, use the set_param function.
- To programmatically retrieve the value of this parameter, use the get_param function.
- If you set this parameter to
Enable All
orDisable All
, model verification block icons indicate whether each block is enabled or disabled. For example, the icon of aCheck Dynamic Gap block is crossed out when the value of this parameter isDisable All
.
Recommended Settings
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | Enable All for simulation or during developmentDisable All for production code generation |
Programmatic Use
Parameter: AssertControl | |
---|---|
Type: string | character vector | |
Values: "UseLocalSettings" | "EnableAll" | "DisableAll" |
Default: "UseLocalSettings" |
Version History
Introduced in R2006a