MATLAB Online: PNG exports are solid black rectangles + tiny EPS/FIG files — anyone else?
Show older comments
Hi all I’m on MATLAB Online and trying to export figures automatically. Even simple plots export to PNG as a solid black rectangle. EPS/FIG are tiny files (a few KB) and open as blank/near-empty. Is anyone has export figure as eps or PNG succefly. I triee exportfigure but i got the same result! I try with various browser, the same problem. I don't know what is the problem. Thank you
7 Comments
Walter Roberson
on 21 Oct 2025
When I plot(rand(1,100)) and click on the axes toolbar and chose Save As, I get a low-quality png saved -- but it is not black and not nearly empty.
Fermat
on 21 Oct 2025
Walter Roberson
on 21 Oct 2025
Which browser are you using?
Fermat
on 21 Oct 2025
dpb
on 21 Oct 2025
Google Chrome seems to be the most recommended by Mathworks as some features for some toolboxes apparently only work with it. I could not find in the online product info a specific list of requirements, however.
I'd stick with the advice to submit a support ticket...
Fermat
on 21 Oct 2025
Walter Roberson
on 22 Oct 2025
I tested with:
- firefox desktop for MacOS Intel
- google chrome (same OS)
- safari (same OS)
On all of them, I had no problem plotting something, then using the axis tools to Save As png.
Accepted Answer
More Answers (0)
Categories
Find more on Help and Support in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!