| GNU Octave Manual by John W. Eaton Paperback (6"x9"), 324 pages, 4 figures ISBN 0954161726 RRP £19.99 ($29.99) |
2.2 Quitting Octave
- Built-in Function: exit (status)
- Built-in Function: quit (status)
- Exit the current Octave session. If the optional integer value status is supplied, pass that value to the operating system as the Octave's exit status.
- Built-in Function: atexit (fcn)
- Register function to be called when Octave exits. For example,
function print_flops_at_exit () printf ("\n%s\n", system ("fortune")); fflush (stdout); endfunction atexit ("print_flops_at_exit");will print a message when Octave exits.
| ISBN 0954161726 | GNU Octave Manual | See the print edition |