In the editor, my "run" icon shows "pause"

6 Ansichten (letzte 30 Tage)
David Jeffrey
David Jeffrey am 13 Jan. 2021
Beantwortet: Divija Aleti am 18 Jan. 2021
I received a script file which I loaded into my editor. I clicked the "run" icon, and after a brief time, the "run" icon changed to a "pause" icon.
I have never seen that before ! If I simply wait, then the script eventually finishes running and displays the expected results, but what is the meaning of the "pause" icon?
The script does not contain any pause commands that I can see. If I click the pause icon, then it returns to the run icon and it seems nothing happens until I click run again.

Akzeptierte Antwort

Divija Aleti
Divija Aleti am 18 Jan. 2021
Hi David,
Adding to ARK's comment, whenever the code takes a long time to run, the 'run' icon changes to the 'pause' icon. This indicates that the code is still running. If you want to debug your code, you can click the pause icon and do so. When you are done, you can click the run icon again to continue running the code. Once the code is done running, the 'pause' icon changes back to the 'run' icon.
Regards,
Divija

Weitere Antworten (0)

Kategorien

Mehr zu Environment and Settings finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by