[Top][All Lists]

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

Re: fopen: default open mode is now binary?

From: Shai Ayal
Subject: Re: fopen: default open mode is now binary?
Date: Mon, 11 Apr 2005 09:57:59 +0300
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)

Maybe you don't have an "Output" directory in your current directory?

try doing:

file = "Output/portfolioValues.csv";
fid = fopen(file, "w")


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
Tel:  + 972 3 6322 126
Fax:  + 972 3 6322 125
email: address@hidden

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]