From: Sunny on 20 Jul 2010 13:39 Hi everyone, I've put together a GUI for my research lab that analyzes Gait data. What I'm doing is loading text files of raw data, segmenting the data into strides, and then separating the stances (all automatically). Things were going very well, until I tried loading larger files. I'm running the 32 bit version of Matlab, and had no issues loading raw data files from 50-70 Mb. However, when I try to load a data file of 200 Mb, Matlab tells me its out of memory. I'm using the importdata() command, and I've also tried increasing the size of my page file, running Matlab in different memory manager modes as described in the Matlab help files. Does anyone have any creative suggestions for how to maybe partially load a data file (i.e. load the first half, then the 2nd), or somehow split up the text file into smaller files using a different program? Cheers! S
From: us on 20 Jul 2010 14:48 "Sunny " <remove.this.sunnygurm(a)gmail.com> wrote in message <i24mvo$1on$1(a)fred.mathworks.com>... > Hi everyone, > > I've put together a GUI for my research lab that analyzes Gait data. What I'm doing is loading text files of raw data, segmenting the data into strides, and then separating the stances (all automatically). > > Things were going very well, until I tried loading larger files. > > I'm running the 32 bit version of Matlab, and had no issues loading raw data files from 50-70 Mb. However, when I try to load a data file of 200 Mb, Matlab tells me its out of memory. > > I'm using the importdata() command, and I've also tried increasing the size of my page file, running Matlab in different memory manager modes as described in the Matlab help files. > > Does anyone have any creative suggestions for how to maybe partially load a data file (i.e. load the first half, then the 2nd), or somehow split up the text file into smaller files using a different program? > > Cheers! > S a hint: help memmapfile; % -or- use one of the low-level i/o stock functions, eg, help fopen; help fread; help ftell; help fseek; help fclose; us
|
Pages: 1 Prev: earth's mag field on a simple object (pdetool) Next: On the ~ symbol in a function call... |