Main Content

Model Verification block enabling

Description

Enable model verification blocks in the current model either globally or locally.

Category: Diagnostics

Settings

Default: Use local settings

Use local settings

Enables or disables blocks based on the value of the Enable assertion parameter of each block. If a block's Enable assertion parameter is on, the block is enabled; otherwise, the block is disabled.

Enable All

Enables all model verification blocks in the model regardless of the settings of their Enable assertion parameters.

Disable All

Disables all model verification blocks in the model regardless of the settings of their Enable assertion parameters.

Dependency

Simulation and code generation ignore the Model Verification block enabling parameter when model verification blocks are inside a S-function.

Command-Line Information

Parameter: AssertControl
Value: 'UseLocalSettings' | 'EnableAll' | 'DisableAll'
Default: 'UseLocalSettings'

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precaution

EnableAll for simulation or during development

DisableAll for production code generation

Related Topics