[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing directory/fopen question...

From: Preben Mikael Bohn
Subject: Re: Changing directory/fopen question...
Date: Tue, 24 Sep 2002 17:18:02 +0200 (CEST)

> I want to "fopen" a file "c:\test.txt" under windows. A "pwd" gives:
>  >> pwd
>   /octave_files
> and I can only "cd .." once.

Thank to Paul for pointing out that under windows I can get to "c:\" by using
"cd /cygdrive/c"

> PS. Is there an easy way to load an unknown number of entries in a file
> containing e.g.
>  2.134670002413347e-01
>  9.286392378372673e-02
>  1.372532547178472e+00
> ...
> into an octave variable?

I found out myself that this can be done by textread. :-)

Best regards Preben

Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]