필터 지우기
필터 지우기

How do I locate the crash dump files generated by MATLAB?

조회 수: 534 (최근 30일)
MATLAB encountered a crash. How do I locate the crash log files on my computer. 

채택된 답변

MathWorks Support Team
MathWorks Support Team 2024년 1월 2일
편집: MathWorks Support Team 2024년 1월 2일
When MATLAB crashes, up to three log files may be generated with the following names:
matlab_crash_dump.XXXX
java.log.XXXX
hs_error_pidXXXX.log
The filenames will not have XXXX in them, but rather a number representing the process ID. For example, you might see crash dumps named "matlab_crash_dump.3944," "java.log.3944," and "hs_error_pid3944".  
You can use the following MATLAB File Exchange submission to extract the logs MATLAB generates:

 

extractCrashLogs(nD​ays,logDir)
If MATLAB is started with the '-logfile' option, a separate crash file is not created. Instead, the crash information is written to the end of the log file specified by the '-logfile' option.You can also manually locate for the crash dumps:

 

Windows
On Windows these files are located in the folder where the operating system stores temporary files. To open your temp directory, enter the following into the search field in your Start Menu/Start Screen/Taskbar:
%temp%
or manually navigate to
C:\Users\%username%\AppData\Local\Temp

 

Linux
On Linux, crash dumps are saved to your home folder. Type "cd ~" or "cd /home/$USER/" to navigate to your home folder.

 

Mac
On Mac, crash dumps are saved to your home folder. From the Finder, click the "Go" menu and select "Home" to open your Home folder.
  댓글 수: 1
Qu Cao
Qu Cao 2016년 10월 26일
편집: Qu Cao 2016년 10월 26일
On windows, the path can be C:\Users\$YourName$\AppData\Local\Temp

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Manage Products에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by