Detect violations of memory integrity in code generated for
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.