Matlab no longer running scripts
조회 수: 226 (최근 30일)
이전 댓글 표시
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
답변 (5개)
Brittany Morison
2016년 4월 21일
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
댓글 수: 1
André Francisco
2017년 2월 13일
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
Christopher Gomez
2018년 6월 28일
편집: Christopher Gomez
2018년 6월 28일
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)
댓글 수: 0
Mostafa Youssef
2019년 9월 20일
Try to change the name of script.m file. This happens if you have 2 files with the same name.
댓글 수: 0
Charles Kluepfel
2023년 7월 14일
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!