|
"Isabel" wrote in message <hdvgcc$qfb$1@fred.mathworks.com>...
> "Igal " <igal@systematics.co.il> wrote in message <hd66ui$i6e$1@fred.mathworks.com>...
> > Van Lancker Eric <eric.vanlancker@iav.ch> wrote in message <43f99441$1_3@news.bluewin.ch>...
> > > Hi,
> > >
> > > In a batch processing using the command
> > > print(gcf,'-r126','-djpeg75',[Pn Fn]);
> > > I have sometimes (1 time upon 1000) the following error
> > >
> > > Error using ==> print
> > > Error using ==> graphics\private\render
> > > Bad data returned by HARDCOPY. Not calling IMWRITE.
> > >
> > > Hardcopy is a built-in function.
> > > I can't reproduce the error...and cannot find the bug !!
> > >
> > > Thanks in advance.
> > > Eric
> >
> > Hi Eric,
> > I Got another case of similar problem. Did yo ufind an answer?
> > Regards.
>
> Hello,
>
> I randomly get this message and have the same problems that you describe.
> Do you know a solution to this, or a way around it?
>
> Thank you,
>
> Isabel
Hi,
this error is likely due to memory shortage. I began getting it after introducing a line that loaded a large matrix into memory. Clearing the corresponding variable before printing the figures put an end to the problem.
Greetings
|