|
"Ross Anderson" wrote:
> I'm saving some plots using export_fig (http://www.mathworks.com/matlabcentral/fileexchange/23629-exportfig)
> export_fig(filename,'-png');
>
> I get:
> ??? Error using ==> print
> Error using ==> print
> Error using ==> graphics\private\render
> Bad data returned by HARDCOPY. Not calling IMWRITE.
>
> This doesn't happen immediately, but maybe around the 100th file saved. After that, I can't export_fig() any image on the command line until I restart matlab. Then starting from the beginning, it works fine until around the 100th image again. Plenty of disk space.
> Suggestions?
Hi Ross
I have some questions:
Does it always fail on the same figure?
If you change the order in which you save the figures does it fail on a different one?
If you start with the figure that failed does it fail immediately?
If you use a different renderer, e.g. -painters, does it have the same problem?
Thanks,
Oliver
|