getdata giving "An unexpected error occurred."
1 view (last 30 days)
Show older comments
Occassionally I'll get an error when I make a getdata call. Here is the sample code and the error it throws.
Code:
[DAQ_data, DAQ_time] = getdata(ai, ai.SamplesAcquired);
Error:
??? An unexpected error occurred.
Error in ==> analoginput.getdata at 199
[varargout{1:nout}]=getdata(uddobj,samples,dataformat);
Anyone seen this before and have any recommendations on fixing it?
Thank you!
3 Comments
Answers (0)
See Also
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!