Matlab crashes on startup after segfault on last
Ältere Kommentare anzeigen
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
1 Kommentar
Daniel
am 28 Jun. 2011
Antworten (2)
Ian Worthinton
am 16 Feb. 2012
1 Stimme
C:\Users\<USERNAME>\AppData\Roaming\MathWorks\MATLAB\R2011a
delete MATLAB_Editor_State
:)
2 Kommentare
Kevin Wang
am 7 Aug. 2013
Deleting MATLABDesktop.xml did it for me, thanks.
sharoze ali
am 4 Jan. 2015
Yes , It works for me too ..by deleting the MATLAB_Editor_State ... :) Thanks
kentavros babis
am 12 Nov. 2011
0 Stimmen
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)
Kategorien
Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!