I am using the Data Acquisition Toolbox in MATLAB R2020b, and connecting to devices that are able to sample data at a very high frequency (~3000Hz), and I would like to use MATLAB to read the data buffer in the device as fast as possible, at least every 20ms (50Hz), and ideally higher.
However, I found that the reading was limited to only below 10Hz, which is substantially lower than what I expect. I was trying to change the "ScansAvailableFcnCount", but it does not increase the reading frequency any higher.
I have tried different devices on different computers, and the result all looks similar.
I was also looking into the function that was shipped with MATLAB "DataAcquisition.m", and it does seem like the rate was limited in line 1514. Is this expected? How can I increase the reading rate?
Best Answer