Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Best way to perform stream processing with matlab
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Cody

Posts: 13
Registered: 9/27/10
Best way to perform stream processing with matlab
Posted: Oct 7, 2010 2:42 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hello, I have a custom ADC board and USB interface along with some software that writes ADC samples from the board to files on a hard disk up to 40MB/s. The size of the raw data files are specified in an initialization file. Each acquired data file is usually ~100MB. The samples from the ADC are each two bytes long (int16 format). What is the best way to bring the samples into Matlab in an incremental fashion? Currently I use the memmapfile() functionality and loop through each file, processing one "block" of data on each loop. Typically a block is ~10MB of data, but the processing block size is just another initialization parameter. Is there a better way to do this? I know there's been talk about system objects for this application, but these seem to be tuned for images and not data in samples in an arbitrary ieee format. Thanks for all your help!



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.