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 All
Use local settings
Enables or disables model verification blocks based on the value of the Enable assertion parameter for each block.
Enable All
Globally enables model verification blocks regardless of the value of the Enable assertion parameter.
Disable All
Globally disables model verification blocks regardless of the value of the Enable assertion parameter.
Tips
To programmatically modify this parameter, use the
get_param
function on the model.To programmatically retrieve the value of this parameter, use the
set_param
function on the model.If you set this parameter to
Enable All
orDisable All
, the model verification block icon indicates whether the block is enabled or disabled. For example, the block icon of a Check Dynamic Gap block is crossed out when 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