[Top][All Lists]

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

Re: Turn off intermediate answers in script?

From: Quentin Spencer
Subject: Re: Turn off intermediate answers in script?
Date: Wed, 22 Sep 2004 13:18:20 -0500
User-agent: Mozilla Thunderbird 0.8 (X11/20040913)

James Knowles wrote:

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.


Add a semicolon to the end of the lines that are producing output, as in the example below:

octave:1> a=1
a = 1
octave:2> a=1;

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]