Main Content

Break on Ctrl+C

Description

Enables responsiveness checks in code generated for MATLAB Function blocks, Stateflow® charts, and dataflow domains. This parameter applies to the model during simulation and code generation.

Category: Simulation Target

Settings

Default: On

On

Enables periodic checks for Ctrl+C breaks in code generated for MATLAB Function blocks, Stateflow charts, and dataflow domains. Also allows graphics refreshing.

Off

Disables periodic checks for Ctrl+C breaks in code generated for MATLAB Function blocks, Stateflow charts, and dataflow domains. Also disables graphics refreshing.

Caution

Without these checks, the only way to end a long-running execution might be to terminate the MATLAB® session.

Command-Line Information

Parameter: SimCtrlC
Value: 'on' | 'off'
Default: 'on'

Recommended Settings

ApplicationSetting
DebuggingOn
Traceability

No recommendation

Efficiency

No recommendation

Safety precaution

No recommendation

Related Topics