- Open up Windows Command Prompt as Administrator
- Execute the following command:> set MW_CRASH_MODE=wait
- Start MATLAB from the same Command Prompt
- Perform the steps that cause MATLAB to crash. When MATLAB would otherwise crash, it will now hang instead.
- Open Windows Task Manager
- Expand the MATLAB <version> process
- Right-click on the MATLAB <version> process
- Select "Create dump file" - The "Dumping Process" will start and at the end will indicate where the file has been saved.
- Use Task Manager to end the MATLAB process
How do I generate a native crash dump for MATLAB in Windows?
조회 수: 20 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2018년 4월 3일
편집: MathWorks Support Team
2023년 6월 29일
How do I generate a native crash dump for MATLAB in Windows?
채택된 답변
MathWorks Support Team
2023년 6월 23일
편집: MathWorks Support Team
2023년 6월 29일
To create a native crash dump for the MATLAB process on a Windows Machine, do the following:
The above process will create a full memory dump, which contains a lot of information that can be used to help troubleshoot the crash.
Note
that MW_CRASH_MODE is an undocumented feature, and may change at any time.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Report Generator에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!