Code covered by the BSD License
function savevid(app) pathname=app.V.Path; mkdir(pathname,'regional_images'); for i = 1 : app.V.NumberOfFrames filename=[pathname,'\regional_images\regional-', num2str(i) '.bmp']; imwrite(app.Mov(i).cdata,filename,'bmp'); end end
Contact us