help-octave
[Top][All Lists]
Advanced

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

Re: writing integer with fwrite


From: John W. Eaton
Subject: Re: writing integer with fwrite
Date: Tue, 14 Dec 2004 10:10:31 -0500

On 14-Dec-2004, Miroslaw Kwasniak <address@hidden> wrote:

| octave:1> f=fopen('xxx','wb'); fwrite(f,12.5,'uint32'), fclose(f); ls -l xxx
                            ^
Ah, perhaps this is it.  In more recent versions, binary mode is the
default mode for fopen.

jwe



-------------------------------------------------------------
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
-------------------------------------------------------------



reply via email to

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