I have run into an issue using VideoReader, when running the below code the first time, it works perfectly fine.
v = VideoReader('1test144.mp4');
X = read(v);
However trying to rerun the code with either the same or a different file gives the following error:
Dot indexing is not supported for
variables of this type.
Error in VideoReader/read (line 124)
Restarting matlab allows the code to run again. I have also tried to use clear all but that does not make a difference.
Any help would be appreciated