Azzera filtri
Azzera filtri

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

8 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

Divija Aleti
Divija Aleti il 18 Gen 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

Più risposte (0)

Categorie

Scopri di più su Environment and Settings in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by