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?

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Graphics Performance 的更多信息

产品

版本

R2025a

提问:

2026-3-31,9:20

Community Treasure Hunt

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

Start Hunting!

Translated by