Model Verification block enabling
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 AllUse local settingsEnables or disables model verification blocks based on the value of the Enable assertion parameter for each block.
Enable AllGlobally enables model verification blocks regardless of the value of the Enable assertion parameter.
Disable AllGlobally disables model verification blocks regardless of the value of the Enable assertion parameter.
Tips
To programmatically modify this parameter, use the
set_paramfunction.To programmatically retrieve the value of this parameter, use the
get_paramfunction.If you set this parameter to
Enable AllorDisable All, model verification block icons indicate whether each block is enabled or disabled. For example, the icon of a Check 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 |
|
Programmatic Use
Parameter: AssertControl |
| Type: string | character vector |
Values:
"UseLocalSettings" | "EnableAll" |
"DisableAll" |
Default:
"UseLocalSettings" |
Version History
Introduced in R2006a