4 %a=avifile('sfire.avi');
\r
11 %print('-djpeg',sprintf('frame%5.5i',j))
\r
12 %M(j)=getframe(gcf);
\r
14 %if mod(j,10)==0 | j< 10,
\r
17 fprintf('frame %g model time %g rendering time %g s\n',j,k,etime(clock,t1))
\r
23 function savemovie(M)
\r
26 fprintf('saved to file %s\n',mf)
\r