Unable to use 'getdata' fucntion in MATLAB 2017A for image acquisition.
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I am trying to acquire frames from a camera in Real time using the Image acquisition for further analysis(programtically and not using the app). I use the function 'getdata' to bring the images into the MATLAB workspace and it works fine with 2019B version of MATLAB. I initially worked with MATLAB2019B but now due to other constraints i am trying to implement the same set up using MATLAB 2017A and now I am unable to use the 'getdata' fucntion to do the same thing. I get the follwing error.
Error using imaqdevice/getdata (line 154)
GETDATA timed out before FRAMES were available.
Error in manual_trigger_2017A (line 16)
[signalData, time, meataData] = getdata(vid,1, 'uint16','cell');
I would like to know why the same lines of code which works fine in 2019B and does not work in 2017A. Does 'getdata' function have some sort of constraints with respect to the verison of matlab or is it something else wrong in my code??
I have my code attached and eagrely looking forward to some assistance.
0 Commenti
Risposte (1)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!