extractCrashLogs(nDays,logDir)
Many times when contacting MathWorks Technical Support you may be asked to provide recent crash logs generated by MATLAB and sometimes obtaining these logs can be cumbersome. This file automates the extraction of crash logs generated by MATLAB and collects them to a ZIP file you can then send to your Technical Support engineer. Simply execute the function to collect the any logs generated in the past 30 days:
>> extractCrashLogs
For more days, execute the function with the number of days as input. For example, for 50 days:
>> extractCrashLogs(50)
Cite As
Cesar Rivadeneyra (2026). extractCrashLogs(nDays,logDir) (https://nl.mathworks.com/matlabcentral/fileexchange/48704-extractcrashlogs-ndays-logdir), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
