benlyyan / MGT

5 stars 4 forks source link

mgread for files outside search path #16

Closed krisny closed 8 years ago

krisny commented 8 years ago

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]);

benlyyan commented 8 years ago

This is really good point. I will add that.

benlyyan commented 8 years ago

The mgread and mgread1 have been updated so that they can read data outside of current path.