The script can't continue after pause
25 views (last 30 days)
In my script, there are "pause;" after some plots. A "pause;" commands is referring to the entire line of code.
In the past, I can press the "enter" key of the keyboard to let the script continue after "pause;". But now, more and more of my script don't have any reaction when I press the "enter" key, which means I can't continue my script after "pause;".
The time of appearance is random. Sometimes the error appears at the 2nd "pause;", sometimes it appears at the 6th "pause;", and sometimes it won't happen. Every time when I run the script, I can't predict where the script will stick at.
I don't have any ideas about why it happens. How can I get it fixed? Many thanks.