Main Content

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 set_param function.

  • To programmatically retrieve the value of this parameter, use the get_param function.

  • If you set this parameter to Enable All or Disable 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 is Disable All.

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precaution

Enable All for simulation or during development

Disable All for production code generation

Programmatic Use

Parameter: AssertControl
Type: string | character vector
Values: "UseLocalSettings" | "EnableAll" | "DisableAll"
Default: "UseLocalSettings"

Version History

Introduced in R2006a