[Top][All Lists]

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

Re: How do I suppress output of main program?

From: Paul Kienzle
Subject: Re: How do I suppress output of main program?
Date: Wed, 25 Feb 2004 22:26:10 -0500

On Feb 25, 2004, at 5:07 PM, Henry F. Mollet wrote:

octave:8> [grow_rates, kmat,mshpts]=lambda(testdata, [],[],[],[],[])
In lambda.m after matlam function
1.2769  1.3000  1.2856  % Ok, my disp statement
In lambda.m after last statement i.e grow_rates =
Prints grow_rates and kmat and mshpts after this !??
How do I suppress it, at least kmat and mshpts?

In matlab as in octave, the value of an expression is printed
unless there is a semicolon on the end of the line.  The same
is true for function calls unless the function does not return
a value.

Add a semicolon to the end of the "octave:8>" line above.

Paul Kienzle

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]