when I am trying to open a .mpg file with the vision.VideoFileReader with
vid = vision.VideoFileReader (videoName, 'ImageColorSpace', 'RGB','VideoOutputDataType',...
I get the following error message
Error using coder.internal.errorIf (line 9)
Unable to read video from the file. Use dsp.AudioFileReader to read
I tried to open a .mp4 file with the vision.VideoFileReader and it works without any problem.
I have already searched the internet for a solution, but I found nothing that solves the problem.