[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fopen: default open mode is now binary?
From: |
mavram |
Subject: |
Re: fopen: default open mode is now binary? |
Date: |
Tue, 12 Apr 2005 18:51:32 +0300 |
User-agent: |
Mutt/1.5.5.1+cvs20040105i |
On Mon, Apr 11, 2005 at 09:57:59AM +0300, Shai Ayal wrote:
> Maybe you don't have an "Output" directory in your current directory?
>
> try doing:
>
> mkdir("Output")
> file = "Output/portfolioValues.csv";
> fid = fopen(file, "w")
>
>
> Shai
>
> address@hidden wrote:
> But I am surprised that octave accepted the argument
> >file = "Output/portfolioValues.csv"
> >On my system, the succession of commands:
> >file = "Output/portfolioValues.csv";
> >fid = fopen(file, "w")
> > gave the output: fid = -1; i.e. no file was opened. Only when I
> > left out the Output/ part did it behave correctly
> >
>
>
> --
> Shai Ayal, Ph.D.
> Head of Research
> BioControl Medical BCM
> 3 Geron St.
> Yehud 56100
> ISRAEL
> Tel: + 972 3 6322 126
> Fax: + 972 3 6322 125
> email: address@hidden
Thanks, Ayal. You are perfectly right.That's what happens when
one presses the mose before engaging one's brain...
Cheers, Avraham
-------------------------------------------------------------
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
-------------------------------------------------------------