Main Content

Check memory integrity

Memory integrity checking

Description

App Configuration Pane: Speed

Configuration Objects: coder.MexCodeConfig

Memory integrity checking, specified as one of the values in this table.

See Control Run-Time Checks.

Settings

On

This value is the default value.

The generated code detects memory integrity violations and stops execution with a diagnostic message.

Off

The generated code does not detect memory integrity violations.

Setting IntegrityChecks to false can improve performance. However, without memory integrity checks, violations result in unpredictable behavior. Set IntegrityChecks to false only if you have verified that array bounds checking and dimension checking are unnecessary. Setting IntegrityChecks to false also disables the run-time stack.

Programmatic Use

Property: IntegrityChecks
Values: true | false
Default: true

Version History

Introduced in R2011a