Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Conditional Assignment of video reader?

조회 수: 1 (최근 30일)
Timothy
Timothy 2013년 10월 8일
마감: MATLAB Answer Bot 2021년 8월 20일
I've seen many questions like this, but nothing that fit my problem quite right.
I'm running the Motion-Based Multiple Object Tracking example. In one of the nested functions, this is the assignment:
obj.reader = vision.VideoFileReader('atrium.avi');
I want to be able to select a different video and not have to open the function to do so. I want obj.reader to be assigned to that video only if it's not already assigned to a different video of my choice.
Is there an easy way of doing this, or should I just manually change the video in the function's code?
Thanks!

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by