From: Shaddy on
I am running a test where I am saving my data as three *.BIN files and using Matlab to upload it and analyze it. I am uploading the data in the following way.

fid0=fopen(['Data\File0.bin'],'r');
fid1=fopen(['Data\File1.bin'],'r');
fid2=fopen(['Data\File2.bin'],'r');

Data=fread(fid0,[80 Counts],'int16')';
Data(:,81:176)=fread(fid1,[96 Counts],'int16')';
Data(:,177:272)=fread(fid2,[96 Counts],'int16')';

The problem is that 'Counts' is a very large number (larger than 200k points) If I try to upload my data this way I will receive an " out of memory" error msg.

Is there is a more efficient way to upload the data?

What if I would like to upload small portion of the dataset, starting from i1 through i2, how can I do so with out uploading the entire dataset first and thenlooking on this small portion of it?


Thank you,
Shaddy