Changeset 956 for trunk/src/uvmat.m
- Timestamp:
- Jun 22, 2016, 8:10:14 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/uvmat.m
r955 r956 784 784 end 785 785 %create avi open 786 aviobj=avifile(MovieName,'Compression','None','fps',fps); 787 786 %aviobj=avifile(MovieName,'Compression','None','fps',fps); 787 788 aviobj = VideoWriter(MovieName,'Uncompressed AVI'); 789 open(aviobj) 788 790 %% get info from uvmat and adjust it 789 791 huvmat=findobj(allchild(0),'Tag','uvmat'); … … 806 808 set(htitle,'String',regexprep(Title,'t=\d+.\d*',['t=' time_str])) 807 809 mov=getframe(figure_movie); 808 aviobj=addframe(aviobj,mov); 809 end 810 end 811 aviobj=close(aviobj); 810 % aviobj=addframe(aviobj,mov); 811 writeVideo(aviobj,mov); 812 end 813 end 814 close(aviobj); 812 815 msgbox_uvmat('CONFIRMATION',{['movie ' MovieName ' created '];['with ' num2str(FrameNumber) ' frames']}) 813 816
Note: See TracChangeset
for help on using the changeset viewer.