imaqtool code failed?
조회 수: 3 (최근 30일)
이전 댓글 표시
I am using imaqtool to record a video and it generates a code which i used that code in matlab but it give an error. vid = videoinput('winvideo', 2, 'YUY2_640x480'); src = getselectedsource(vid);
vid.ReturnedColorspace = 'rgb';
vid.FramesPerTrigger = 10;
vid.LoggingMode = 'memory';
preview(vid);
start(vid);
stoppreview(vid);
댓글 수: 0
답변 (1개)
Mann Baidi
2024년 2월 23일
Hi Hamza,
I can see that you are facing issue with the 'videoinput' using 'Image Acquisition Toolbox' in MATLAB. For recording a video using the 'Image Acquisition Toolbox' for releases after R2014a you will have to install support packages via MATLAB® Add-Ons.
You can refer to the following link for installing the Support Packages for Image Acquisition Toolbox Adaptors.
I hope this link will help in resloving the issue!
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Acquisition Using Image Acquisition Explorer에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!