Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
Cody
Posts:
12
Registered:
9/27/10
|
|
Best way to perform stream processing with matlab
Posted:
Oct 7, 2010 2:42 PM
|
|
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!
|
|
|
|