Matlab no longer running scripts
Mostra commenti meno recenti
Hello,
I have been using my current version of Matlab for months, (R2011a), and I was using it no less than 20 minutes ago, and now it won't run. I push the run button, and nothing happens or changes. It was working, then all of a sudden it stopped for no reason.
Thank you, Heather
4 Commenti
Daniell Algar
il 4 Feb 2013
Do you get an error code?
Shashank Prasanna
il 4 Feb 2013
does restarting matlab help?
Heather
il 4 Feb 2013
Sean de Wolski
il 4 Feb 2013
Contact Support!
Risposte (7)
Brittany Morison
il 21 Apr 2016
7 voti
Check if it's running an infinite loop. and press control c to stop that.
That's what was happening to me when i couldn't run my code
2 Commenti
André Francisco
il 13 Feb 2017
I had the exact same problem and tried that, and now it works. I also typed control v, (dont know if it helped in any way, im kind of a noobie still). But yup, same problem, and now its fixed. ty
Walter Roberson
il 7 Ott 2024
thanks alot it worked
Azzi Abdelmalek
il 4 Feb 2013
1 voto
Close your Matlab session, then reopen it
Christopher Gomez
il 28 Giu 2018
Modificato: Christopher Gomez
il 28 Giu 2018
1 voto
I got the very same problem. The code was running like a charm a minute ago, and then nothing... and when you run and go to the next part of the code, it does so, but it does not spill any result anymore... just weird... (Version 2017)
Mostafa Youssef
il 20 Set 2019
0 voti
Try to change the name of script.m file. This happens if you have 2 files with the same name.
Charles Kluepfel
il 14 Lug 2023
0 voti
I had the same problem. To fix it I closed Matlab and restarted it.
But a temporary workaround is just to save the .m file and then run it by typing the name in the command window.
Hifza
il 27 Ott 2024
0 voti
I was having same problem, i clicked 'clear data' multiple times then it started showing something on command window,,,so i clicked 'ctrl+c' to stop all executions. it worked.
1 Commento
Ain Nur Dania
il 6 Dic 2024
this worked too for me. thank you
Walter Roberson
il 6 Dic 2024
0 voti
For certain older versions of MATLAB, and more common on Mac, MATLAB could apparently hang at random times, including on start-up. The problem had to do with Source Control. The workaround was
Preferences -> Source Control -> MATLAB Source Control Preferences -> Source Control Integrations -> [ ] Enable source control
which you would need to uncheck.
The hanging problem was supposedly fixed several releases ago -- but not long ago I did see a post from someone indicating the turning off source control fixed problems for them on a relatively recent release.
Categorie
Scopri di più su Startup and Shutdown in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!