Open file for writing video data
open(v)
example
open(v) opens the file associated with v for writing. When you open the file, all properties of the object become read only. open discards all existing contents of the file.
v
open
collapse all
Create a VideoWriter object to write a new Motion JPEG AVI file.
VideoWriter
v = VideoWriter('newfile');
Open the file for writing.
Write a 300-by-300 matrix of data to the file.
writeVideo(v,rand(300))
Close the file.
close(v)
Input VideoWriter object. Use VideoWriter to create the object.
close | VideoWriter | writeVideo
close
writeVideo
You have a modified version of this example. Do you want to open this example with your edits?