Main Content

Enable responsiveness to CTRL+C and graphics refreshing

Responsiveness checks

Description

App Configuration Pane: Speed

Configuration Objects: coder.MexCodeConfig

The Enable responsiveness to CTRL+C and graphics refreshing parameter specifies whether the MEX function checks for Ctrl+C periodically. If you enable the Enable responsiveness to CTRL+C and graphics refreshing parameter, the MEX function also periodically refreshes graphics.

When you disable this parameter, the generated MEX might be smaller and might execute faster. However, the only way to end MEX execution might be to terminate MATLAB®.

When using GPU Coder™, the code generator always disables this parameter.

Settings

On

This value is the default value.

You can use Ctrl+C to stop execution of a generated MEX function.

Off

To end a long-running MEX function, you might have to terminate MATLAB.

Programmatic Use

Property: ResponsivenessChecks
Values: true | false
Default: true

Version History

Introduced in R2011a