Hi all,<br><br>I have a script basically using functions below, inside a loop:<br><br>fig=figure(countfig)<br>f=scf(fig)<br>plot2d(...)<br>x2eps(...)<br>close(fig)<br><br>Unfortunately, when the number of images is huge, I always get memory errors (saying memory is empty) and the script is aborted.<br>

Is there any way to clear memory after each plotting/saving to avoid this?<br><br>Regards,<br>-- <br>Eduardo Torrecillas<br>AER-09<br>