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?

Risposte (0)

Categorie

Scopri di più su Graphics Performance in Centro assistenza e File Exchange

Prodotti

Release

R2025a

Richiesto:

il 31 Mar 2026 alle 9:20

Community Treasure Hunt

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

Start Hunting!

Translated by