Check memory integrity
Memory integrity checking
Description
App Configuration Pane: Speed
Configuration Objects: coder.MexCodeConfig
The Check memory integrity parameter specifies whether the MEX function checks for memory integrity violations. The most likely cause of memory integrity issues is out-of-bounds array access.
Disabling the Check memory integrity parameter can result in less generated code and faster MEX execution. However, without memory integrity checks, violations result in unpredictable behavior. Only disable memory integrity checks if you have verified that array bounds checking and dimension checking are unnecessary.
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. This setting also disables the runtime stack.
Programmatic Use
Property:
IntegrityChecks |
Values: true |
false |
Default: true |
Version History
Introduced in R2011a