print as eps stopped working

3 visualizzazioni (ultimi 30 giorni)
Marcus Leiwe
Marcus Leiwe il 31 Gen 2022
Modificato: Marcus Leiwe il 1 Feb 2022
Hi all,
I'm trying to print a figure from MATLAB as an eps file to insert into illustrator. This was working fine over the weekend, however today it has decided not to work on this computer (works fine on my personal PC). Any help detecting the source of the error and how to fix it would be greatly appreciated.
This is the code line (where fn=the file name; typically <30 characters)
print(fn,'-depsc','-tiff','-r300','-painters')
And this is the error message produced (we're running MATLAB R2021a on a japanese windows desktop so occaisonally the text is garbled).
Error using print (line 83)
There was a problem while generating the output: Problem while processing in an OutputHelper. .\Test.eps ()
com.mathworks.hg.util.OutputHelperProcessingException: Problem while processing in an OutputHelper. .\Test.eps ()
at com.mathworks.hg.util.HGVectorOutputHelper.open(HGVectorOutputHelper.java:76)
Caused by: com.mathworks.hg.print.OutputProcessingException: .\Test.eps ()
at com.mathworks.hg.print.FOPPSVectorStrategy.open(FOPPSVectorStrategy.java:272)
at com.mathworks.hg.print.FOPEPSVectorStrategy.open(FOPEPSVectorStrategy.java:64)
at com.mathworks.hg.util.HGVectorOutputHelper.open(HGVectorOutputHelper.java:66)
Thanks once again,
Marcus

Risposte (0)

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Tag

Prodotti


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by