[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Turn off intermediate answers in script?
From: |
Gerald Ebberink |
Subject: |
RE: Turn off intermediate answers in script? |
Date: |
Wed, 22 Sep 2004 20:28:45 +0200 |
This is simple,
Just add a semi-colon (;) behind the lines which give the output
You don't need.
>40+2
Ans = 42
>40+2;
>
Ing. Gerald Ebberink
Research Technician
Kernfysisch Versneller Instituut
Rijksuniversiteit Groningen
Zernikelaan 25
9747 AA Groningen
The Netherlands
tel: +31 50 363 3518
lab: +31 50 363 3588
fax: +31 50 363 4003
-----Oorspronkelijk bericht-----
Van: James Knowles [mailto:address@hidden
Verzonden: 22 September 2004 20:03
Aan: address@hidden
Onderwerp: Turn off intermediate answers in script?
I can't find this in the archives or the help files.
I have several .m scripts that I wrote to analyse large amounts of data.
However, as each operation is executed, the normal response one sees on
the command line is displayed. With arrays of 44 columns of 18,000+ rows
of data it's hard to find the printf() output in the sea of uninterested
details.
Can I silence these unwanted "ans" etc. messages when running a script?
They're normally wanted at the command line, of course.
Thanks!
-------------------------------------------------------------
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
-------------------------------------------------------------
-------------------------------------------------------------
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
-------------------------------------------------------------