Navigation

Operators and Keywords

Function List:

C++ API

: val = silent_functions ()
: old_val = silent_functions (new_val)
: silent_functions (new_val, "local")

Query or set the internal variable that controls whether internal output from a function is suppressed.

If this option is disabled, Octave will display the results produced by evaluating expressions within a function body that are not terminated with a semicolon.

When called from inside a function with the "local" option, the variable is changed locally for the function and any subroutines it calls. The original variable value is restored when exiting the function.

Package: octave