Current location - Recipe Complete Network - Complete cookbook - Can the running program be allowed to continue running after being paused by ctrl+c or ctrl+break in matlab?
Can the running program be allowed to continue running after being paused by ctrl+c or ctrl+break in matlab?
Of course.

Press F5? Continue to run the program/debugging mode, press F 10 to run the debugging step by step, or you can find it in the toolbar under the debugging menu (item 1).

Common shortcut keys in Matlab

A, in the Command Window (command window):

(1)↓, ↓ —— Switch to the command that has been run before and after, and press repeatedly to reach the desired command;

(2) Tab-Auto-Complete. In the command window, enter the first few characters of a command, and then press the tab key, and all the commands beginning with the first few characters will pop up. Find the command you want, press ENTER, and it will be completed automatically.

(3) CTRL+C/BREAK-During the running of Matlab program, the program may run nonstop due to programming errors. Entering "Ctrl+C" in the command window can stop the running program without closing the whole Matlab program, but the premise of this operation is to activate and switch to the command window;

(4)CLC- Clear the statement displayed in the command window. This command does not clear the variables in the current workspace, only the statements displayed on the screen;

(5)clear- This is the variable command to clear the current workspace, which is usually completed by the clear all statement.

Second, in the editor (Editor)(m file):

(1)Tab (or CTRL+])- increase indentation (effective for multiple lines);

(2) Ctrl+[-Reduce indentation (effective for multiple lines);

(3)Ctrl+I- intelligent indentation (that is, automatic typesetting, which is effective for multiple lines);

(4)Ctrl+B- bracket pairing check (version 6.5 is valid, version 7.0 is invalid, and higher versions can automatically check bracket matching, even grammatical errors, without shortcut keys);

(5)F5—— Continue to run the program/debug mode;

(6)Shift+F5- Exit debugging mode.