Wednesday, March 12, 2008

Matlab Picture

print(gcf, '-djpeg',['nnn',num2str(nest)])% this saves the pictures in jpeg format, with numbers in filename.
(in my case nest runs in loop in the lighthouse problem, so will get the names of the loop)