imaqtool code failed?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Mann Baidi
el 23 de Feb. de 2024
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 comentarios
Ver también
Categorías
Más información sobre National Instruments Frame Grabbers en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!