I can use getdata(obj) to get data from memory buffer.
But in the toolbox it teaches me to log image data into a videowriter obj (the disk), when i use
writerObj = VideoWriter('newfile.mj2','motion jpeg 2000');obj.DiskLogger = writerObj;start(obj);
i can get writerObj, but
getdata(writerObj)
doesnt work…since this command is for memory buffer only, not for the disk.
So how may i get the logging frame data from writerObj? such as a '.mj2' file?
Best Answer