The mgread function requires audio and video files to be within the working directory or the search path.
I think this can be fixed in lines 26 and 32 of mgread by including the path in the file specification. Something like this:
mg = mgvideoreader([path, file]);
The mgread function requires audio and video files to be within the working directory or the search path. I think this can be fixed in lines 26 and 32 of mgread by including the path in the file specification. Something like this: mg = mgvideoreader([path, file]);