livescript get stuck randomly
Show older comments
Hi,
I'm running a livescript for my analysis so I'm juggling back and forth to produce plot and other but from time to time, often after a bug, the script refuses to run neither section nor the full script.
The troubleshoot I've found is to close the livescript and open it again. It continues working even if I don't clean the variables after reopening it.
It's not an awfull problem but it is rather annoying so I was wondering if anyone else had this issue.
7 Comments
Cris LaPierre
on 27 Oct 2021
Does this happen consistently or was it a one-time error?
Tancredi Bernasconi
on 27 Oct 2021
Cris LaPierre
on 27 Oct 2021
What do you see when it hangs? Is there a spinning graphic by the first line? When it hangs, what happens if you click in the Command Window and press ctrl+C?
Tancredi Bernasconi
on 28 Oct 2021
Cris LaPierre
on 28 Oct 2021
That's actually what I would expect. Everything appears to be working but the live script doesn't execute. Try a ctrl+C the next time it gets like that and see if, after doing that, the live script code executes.
Tancredi Bernasconi
on 1 Nov 2021
Cris LaPierre
on 1 Nov 2021
When the command window is active, ctrl+C kills whate ever is running in the background. It does not stop execution of live scripts, but sometimes a background process can be runnign that is preventing the script from running.
Did you click in the command window first before using ctrl+C?
If so, this may be another issue. I would suggest contacing support, especially if you can identify a consitant set of steps that reproduce the issue.
Answers (0)
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!