Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: URGENT: Read text file and save matrices
Date: Tue, 14 Oct 2008 15:42:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 21
Message-ID: <gd2ek9$mfl$1@fred.mathworks.com>
References: <gd0i5s$abm$1@fred.mathworks.com> <gd0klu$3ea$1@fred.mathworks.com> <gd1gkc$a1n$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1223998921 23029 172.30.248.35 (14 Oct 2008 15:42:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 14 Oct 2008 15:42:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1551459
Xref: news.mathworks.com comp.soft-sys.matlab:495120


Hey Andres the function you are telling me (txt2mat) does not exist. What should I do?

Any extra help? Could you show me how to get at least the first matrix after the first two lines?

Thank you



"Andres " <rantore@werb.deNoRs> wrote in message <gd1gkc$a1n$1@fred.mathworks.com>...
> "Diego Zegarra" <diegozbb@gmail.com> wrote in message <gd0klu$3ea$1@fred.mathworks.com>...
> > p.d. I am not asking you to code all this for me, an explanation or a guide would be really appreciated and if you have the code that would be even better. However, ANY help is good! Thank you
> 
> Oops, this is a doubleganger thread...
> But as is it urgent, I'll post my suggestion again:
> Use txt2mat from the file exchange to import all the numbers first
> 
> A = txt2mat('fname.txt',0);
> 
> and then extract all your variables from A by the help of A(1,1) and A(2,1).
> Regards
> Andres