Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: how to read/import multiple files which have headings
Date: Mon, 9 Jun 2008 19:24:01 +0000 (UTC)
Organization: Pierburg GmbH
Lines: 26
Message-ID: <g2k00h$2f4$1@fred.mathworks.com>
References: <g2jbk1$ht2$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1213039441 2532 172.30.248.37 (9 Jun 2008 19:24:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 9 Jun 2008 19:24:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 872224
Xref: news.mathworks.com comp.soft-sys.matlab:472893



"julia " <julia.krohn@gmail.com> wrote in message
<g2jbk1$ht2$1@fred.mathworks.com>...
> Hi, 
> I am a beginner when it comes to Matlab and am trying now 
> for some time to get my data in the most efficient way into 
> matlab for further processing. Its rather a lot of files 
> (Test1, Test2 ....) which have some headers and are 
> delimited with ; in ASCI format. I was hoping that there is 
> some automation possible: 
[...]

Hi,
you may also give txt2mat from the file exchange a try.
According to your file format description, simply write

A = txt2mat;

to browse manually, or

A = txt2mat('c:\fileOrFolder');

which is probably a bit more convenient than using textscan
 (and similarly efficient).

Hth, regards,
Andres