Adobe illustrator cannot open eps vector figure from matlab

I have saved a figure using "patch" in matlab but when I try to open it in illustrator, I receive the error: "Cannot open because of an unknown error".
I have tried saving it with:
exportgraphics(gcf,'figure.eps','ContentType','vector');
and
print(gcf,'-depsc2','-vector','figure.eps');
I have Matlab 2025a and Adobe Illustrator 2024 (also tried 2026).
Can you help me solve this error?

Antworten (0)

Kategorien

Mehr zu Graphics Performance finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2025a

Gefragt:

am 31 Mär. 2026 um 9:20

Community Treasure Hunt

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

Start Hunting!

Translated by