my matlab keeps crashing
이전 댓글 표시
matlab keeps crashing when i run a specific code, this code works perfectly on other computers. my computer is not old or anything like that. i do not have eny errors in the code.
댓글 수: 4
Geoff Hayes
2015년 11월 7일
ali - what is the code that you are running? Please post the code or a sample that illustrates the crash. Also, please tell us which version of MATLAB you are using and the OS of the computer where the code is causing the crash, and tell us the same for the computer where the code does not cause a crash.
John D'Errico
2015년 11월 7일
Well, we don't know that you don't have any errors. All we know is what you tell us. But that does not exclude the possibility of errors in your code. Is your code purely MATLAB, or do you have compiled code in there? Nor do we know what you mean by "crashing". Does MATLAB exit? Does it bring down your computer, causing it to reboot? Does it simply freeze things up, or appear to do so? There are a variety of reasons why any of these scenarios might happen.
So without more information, it is impossible to help you very much.
ali jumaa
2015년 11월 9일
편집: Walter Roberson
2015년 11월 10일
Image Analyst
2015년 11월 10일
If MATLAB itself crashes and says that "MATLAB has encountered and internal error and needs to close", then you really need to read my answer below again.
답변 (2개)
Image Analyst
2015년 11월 7일
1 개 추천
If it's MATLAB that's actually crashing, rather than your program throwing an error, see the FAQ: http://matlab.wikia.com/wiki/FAQ#After_installation.2C_MATLAB_crashes_or_gives_an_error_message_when_I_try_to_run_MATLAB.
Shameem Hasan
2018년 10월 14일
0 개 추천
How can I solve this crash problem and run my codes?
댓글 수: 3
Image Analyst
2018년 10월 14일
Did you see my answer above? That's pretty much the only way. The Mathworks can help you get it working, not us non-Mathworks people here.
Patrick Vianello
2022년 11월 2일
perhaps because there is NO answer in the above!
Walter Roberson
2022년 11월 2일
The user's (2018) crash dumps all reported
Assertion in void __cdecl `anonymous-namespace'::mwJavaAbort(void) at b:\matlab\src\jmi\javainit.cpp line 1346:
[ 0] 0x000000001111462a C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\libmwfl.dll+00083498
and their hs_error_pid files all reported a java crash in
jogamp.nativewindow.windows.GDI.DescribePixelFormat1
This was a problem that happened to a number of people in different programs, in the 2017 / 2018 time frame.
According to one user, the key was to remove one of AMD driver management programs and install the driver manually; https://community.amd.com/t5/drivers-software/amd-driver-problem/td-p/474097
That fits in with the report at http://forum.salemthegame.com/viewtopic.php?f=10&t=6422 in which a user said that the AMD software was lying about the drivers being completely up to date, and that the problem was fixed for them by updating AMD graphics drivers.
@Patrick Vianello: @Image Analyst did provide an answer, above, namely to call Mathworks Support. The volunteers cannot be expected to debug Mathworks crashes -- we do not have access to the source code, and we probably do not run the same hardware and software combinations as the users that have the crash problems.
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!