Matlab crashes on startup after segfault on last
이전 댓글 표시
I was editing a function and when I ran it, Matlab crashed. I tried to figure out why, but when I restarted Matlab it would crash immediately. I went to another machine, opened up the function, realized I had put a call to the function inside the function with an inadvertent paste. Now the function works on the other machine. I go back to my own computer and try to start matlab and it always crashes. I restarted twice and no change. I can start it with -nodesktop mode but that isn't very useful for me. How can I get Matlab to start normally again? Thanks.
-Dan Ryan
답변 (2개)
Ian Worthinton
2012년 2월 16일
1 개 추천
C:\Users\<USERNAME>\AppData\Roaming\MathWorks\MATLAB\R2011a
delete MATLAB_Editor_State
:)
댓글 수: 2
Kevin Wang
2013년 8월 7일
Deleting MATLABDesktop.xml did it for me, thanks.
sharoze ali
2015년 1월 4일
Yes , It works for me too ..by deleting the MATLAB_Editor_State ... :) Thanks
kentavros babis
2011년 11월 12일
0 개 추천
I encountered the same error using a recursive function. I managed to fix it doing the following things, though I 'm not sure which one did it.
1. went to C:\Users\"user"\AppData\Roaming\MathWorks\MATLAB\R20.. and deleted every xml, settings file etc after I backed it up on another folder.
2. deleted the m file with the recursive function as I saw it was stored in those files to reopen next time
3. deleted log file(in order to check the new error log)
4. run matlab.bat from C:\Program Files\MATLAB\R20..\bin
5. re copied the files back from step 1
After that it worked (I think deleting the m file did the trick)
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!