Navigation

Operators and Keywords

Function List:

C++ API

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

Query or set the internal variable that controls whether Octave tries to save all current variables to the file octave-workspace if it crashes or receives a hangup, terminate or similar signal.

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.

See also: octave_core_file_limit, octave_core_file_name, octave_core_file_options.

Package: octave