[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Windows 7 user needs help with Octave 3.6.4
From: |
tmacchant |
Subject: |
Re: Windows 7 user needs help with Octave 3.6.4 |
Date: |
Thu, 20 Aug 2015 20:51:51 -0700 (PDT) |
> I am a new user of Octave 3.6.4. I am using Windows 7.
>Anyway, I have looked and looked and I can find no way to print to a file.
Doesn’t Octave have an fprintf function – or something like it? Thanks.
Octave implements 'fprintf'
*******************************************
octave-3.6.4.exe:1> help fprintf
'fprintf' is a built-in function
-- Built-in Function: fprintf (FID, TEMPLATE, ...)
This function is just like `printf', except that the output is
written to the stream FID instead of `stdout'. If FID is omitted,
the output is written to `stdout'.
See also: printf, sprintf, fread, fscanf, fopen, fclose
*********************************************
As Doug pointed out, you can also use "save".
BTW, why did you install octave 3.6.4?
Now, windows binary of octave-4.0.0 is available on
https://ftp.gnu.org/gnu/octave/windows/
octave-4.0.0_0-installer.exe
Tatsuro
--
View this message in context:
http://octave.1599824.n4.nabble.com/Windows-7-user-needs-help-with-Octave-3-6-4-tp4672198p4672203.html
Sent from the Octave - General mailing list archive at Nabble.com.