How to stop matlab executing a command

2 views (last 30 days)
I am using Matlab R2020b. I accidentally printed the contents of a large array on the command line which was taking minutes to display by type the array name and hitting return. I tried using the pause button but this did not stop it from listing the contents of the array. Is there any way of stopping matlab from executing commands, other than forcing the matlab application to close (which I had to do in the end)?

Accepted Answer

Jan
Jan on 10 Mar 2021
Press Ctrl-C .

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!