GUI with live video preview

I currently have a working GUI that shows a video preview(using axes) upon user clicking start button.
Is there any way which the video preview can start automatically when the GUI starts?
i have tried putting the code { preview(vid) } in OpeningFcn or OutputFcn, the preview doesn't seem to start up automatically after the GUI appears.
may i know where should i put this preview function under?

답변 (0개)

태그

질문:

2013년 9월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by