From help-octave-request at bevo dot che dot wisc dot edu Tue Sep 24 10:18:31 2002 Subject: Re: Changing directory/fopen question... From: "Preben Mikael Bohn" To: 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: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------