user1740901
user1740901

Reputation:

Turning off GNU Octave terminal output

I am used to cli, and find Octave very useful for solving linear algebraic equations and image processing stuff.

However there is one thing that annoys me - it outputs every variable's value which is excessive when you have a large matrix.

Is there any way I can turn it off and output variable's value manually?

Upvotes: 6

Views: 3172

Answers (1)

Jaime Soto
Jaime Soto

Reputation: 3228

I may be misunderstanding your question, but it appears that all you need to do is to put a semi-colon (;) at the end of the line you want to run silently.

So instead of:

c = a + b

Try:

c = a + b;

You may also call Octave with either the -q, --quiet, or --silent command-line argument to avoid printing the greeting and version message.

Upvotes: 14

Related Questions