필터 지우기
필터 지우기

VideoReader.m and read.m in MATLAB 64 bit

조회 수: 2 (최근 30일)
Mario Trevino
Mario Trevino 2012년 11월 13일
read function is crashing at line 91 even after updating line 91
if( ~isempty(obj.NumberOfFrames) )
with
if( ~isempty(obj(1).NumberOfFrames) )
Another piece of information: I have MATLAB 32 bit in another computer. I brought both functions from 32 bit into 64 bit, and the reader is still crashing.
this is certainly a bug in 64 bit. has anyone the solution for this??? thanks!
  댓글 수: 2
Walter Roberson
Walter Roberson 2012년 11월 13일
For certainty, please indicte the error message.
Mario Trevino
Mario Trevino 2012년 11월 13일
in the 64bit, intact:
Dot name reference on non-scalar structure. Error in VideoReader/read (line 93) frameIndex(frameIndex == Inf) = obj.NumberOfFrames;
Error in core_ZBtracker>makebackground_frame (line 214) mov=read(vidObj, [start_vidFrame start_vidFrame+delta_interno]);

댓글을 달려면 로그인하십시오.

채택된 답변

Walter Roberson
Walter Roberson 2012년 11월 13일
It isn't enough to just update a single line: you need to update all occurrences, including the one on line 93 - obj(1).NumberOfFrames

추가 답변 (1개)

Mario Trevino
Mario Trevino 2012년 11월 13일
NICE! little bug, simple solution, big headache. thank you very much Walt!
  댓글 수: 1
Walter Roberson
Walter Roberson 2012년 11월 13일
Hasn't been a "Walt" in my family for at least 4-5 generations. There is reason to expect that the name was used in full by our family back to the early 12th century.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by