print as eps stopped working
3 views (last 30 days)
Show older comments
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
0 Comments
Answers (0)
See Also
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!