daqreadCached

Version 1.0.0.0 (15,7 KB) von Gary
This version of daqread is modified to improve retrieval speed, particularly for large files.
358 Downloads
Aktualisiert 19. Apr 2010

Lizenz anzeigen

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 ***

Zitieren als

Gary (2024). daqreadCached (https://www.mathworks.com/matlabcentral/fileexchange/27289-daqreadcached), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2010a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0