dot indexing is not supported error on second run using VideoReader

2 ビュー (過去 30 日間)
Terminus Est
Terminus Est 2020 年 8 月 22 日
回答済み: Urmila Rajpurohith 2020 年 8 月 26 日
Hi everyone,
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:
Error using
VideoReader/read>readFramesUntilEnd
(line 234)
Dot indexing is not supported for
variables of this type.
Error in VideoReader/read (line 124)
videoFrames =
readFramesUntilEnd(obj);
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
  2 件のコメント
Urmila Rajpurohith
Urmila Rajpurohith 2020 年 8 月 25 日
can you provide the version of the MATLAB on which you are facing this issue?
Terminus Est
Terminus Est 2020 年 8 月 25 日
Yes, it is version R2018b

サインインしてコメントする。

回答 (1 件)

Urmila Rajpurohith
Urmila Rajpurohith 2020 年 8 月 26 日
This is a known issue and the issue is resolved in the latest update of R2018b. updating your MATLAB version with the latest update may resolve the issue.

製品


リリース

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by