Details

Detect violations of memory integrity in code generated for MATLAB functions and stops execution with a diagnostic message. Clearing this parameter also disables the runtime stack.


Tradeoffs to Consider

Turning off these checks results in less generated code and faster MEX function execution.

These checks are enabled by default. They detect violations of memory integrity in generated code and stop execution with a diagnostic. Without these checks, violations will lead to unpredictable behavior.

The most likely cause of memory integrity issues is accessing an array out of bounds.