Matlab crashes on startup after segfault on last
Mostrar comentarios más antiguos
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 comentario
Daniel
el 28 de Jun. de 2011
Respuestas (2)
Ian Worthinton
el 16 de Feb. de 2012
1 voto
C:\Users\<USERNAME>\AppData\Roaming\MathWorks\MATLAB\R2011a
delete MATLAB_Editor_State
:)
2 comentarios
Kevin Wang
el 7 de Ag. de 2013
Deleting MATLABDesktop.xml did it for me, thanks.
sharoze ali
el 4 de En. de 2015
Yes , It works for me too ..by deleting the MATLAB_Editor_State ... :) Thanks
kentavros babis
el 12 de Nov. de 2011
0 votos
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)
Categorías
Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!