Path: news.mathworks.com!not-for-mail
From: "Miroslav Balda" <miroslav.nospam@balda.cz>
Newsgroups: comp.soft-sys.matlab
Subject: Reading data into matlab
Date: Sun, 29 Jul 2007 14:47:11 +0000 (UTC)
Organization: Miroslav Balda
Lines: 10
Message-ID: <f8i99e$8r2$1@fred.mathworks.com>
References: <f8b7sr$gbt$1@fred.mathworks.com> <f8bjea$jnq$1@fred.mathworks.com> <f8bko6$a7o$1@fred.mathworks.com> <f8d3qo$6ov$1@fred.mathworks.com> <f8d5qg$4i$1@fred.mathworks.com> <f8d7v4$bva$1@fred.mathworks.com> <f8d8kf$mcq$1@fred.mathworks.com> <f8d928$5l2$1@fred.mathworks.com> <f8d9nh$p4m$1@fred.mathworks.com> <f8h7to$8da$1@fred.mathworks.com> <f8h8h0$fsd$1@fred.mathworks.com>
Reply-To: "Miroslav Balda" <miroslav.nospam@balda.cz>
NNTP-Posting-Host: webapp-01-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1185720431 9058 172.30.248.36 (29 Jul 2007 14:47:11 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 29 Jul 2007 14:47:11 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 360709
Xref: news.mathworks.com comp.soft-sys.matlab:421582


"Felipe Sediles" <felipe.sediles.nospam@mathworks.com> wrote in message <f8h8h0$fsd$1@fred.mathworks.com>...
> >>...
> 
> Or, is there some way to overcome the bufersize limitation by modifying the code?  In some of these files there are a million lines of data mixed with some string text!

One million of lines means about 40MB of characters if a file has the structure you have presented. Such an amount of text should MATLAB manage. May be that the function for free-format read could help you. You will find it under 

http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=9034&objectType=FILE

Of cause, it can be used if a structure of a file is known.