You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
This version of daqread (daqreadCached.m) is modified in two ways to improve retrieval speed, particularly for large files.
1) Instead of building a file index each time daqread is called, which can be very time-consuming for large files, this version caches the index (or 'chart') between calls in a persistent variable. Subsequent calls will use the cached chart if the .daq filename and the number of samples acquired is the same as for the previous call (if these change, a new chart will be built).
2) The cached chart now includes one additional table indicating the startsample for each data block in the file. This is then used for much faster random access (rather than sequential access) to retrieve data samples,which is particularly helpful for retrieving data late in the stored file. *** The robustness of this method has not been tested for multichannel or triggered acquisition ***
Cite As
Gary (2026). daqreadCached (https://au.mathworks.com/matlabcentral/fileexchange/27289-daqreadcached), MATLAB Central File Exchange. Retrieved .
Categories
Find more on Instrument Control Toolbox Supported Hardware in Help Center and MATLAB Answers
General Information
- Version 1.0.0.0 (15.7 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
