Workaround to MATLAB crashing when exporting large live script file as PDF

I have a LARGE live script file (110 MB). I'm trying to export it as a PDF but whenever I click Export to PDF >> Export, the app closes and the MATLAB crash reporter thing pops up. I was able to export it successfully as an HTML but I was hoping there was some sort of fix or shortcut I could do to successfully export it as a PDF.

Answers (0)

Products

Release

R2025b

Asked:

on 26 Mar 2026

Community Treasure Hunt

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

Start Hunting!