Suppressing echo inside scripts

Gabriel Popescu popescu at alcatel-lucent.com
Wed Dec 5 05:15:38 CST 2007


Hi all.

I'm an Octave beginner and I have an easy question:
using Octave as a command interpreter, e.g. using "#!/usr/bin/octave" in a
script,
I get lot of echoes; each code line generates a terminal output.

The statement

octave:1>varname=1

shows on screen

varname = 1
octave:2>

Is possible to suppress such automatic echo, leaving only output generated
by printf command (or similar commands)?

Thanks,
Gabriel





More information about the Help-octave mailing list