[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: simple advice needed on input and output
From: |
c. |
Subject: |
Re: simple advice needed on input and output |
Date: |
Sun, 8 Jul 2012 07:53:44 +0200 |
Il giorno 08/lug/2012, alle ore 07.00, vilsu ha scritto:
> fid = fopen ("in.txt");
> for i = 1:229799
> x = eval (fgetl (fid))
> save -append out.txt x
> endfor;
> fclose (fid)
Is this reading the whole contents of the file "in.txt"?
If it is so, then your code is equivalent to:
source in.txt
save out.txt x
c.
- Re: simple advice needed on input and output, vilsu, 2012/07/08
- Re: simple advice needed on input and output,
c. <=
- Re: simple advice needed on input and output, c., 2012/07/08
- Re: simple advice needed on input and output, vilsu, 2012/07/08
- Re: simple advice needed on input and output, c., 2012/07/08
- Re: simple advice needed on input and output, vilsu, 2012/07/24
- Re: simple advice needed on input and output, Nicholas Jankowski, 2012/07/24
- Re: simple advice needed on input and output, vilsu, 2012/07/24