- publishing free software manuals
GNU Octave Manual
by John W. Eaton
Paperback (6"x9"), 324 pages, 4 figures
ISBN 0954161726
RRP £19.99 ($29.99)

Get a printed copy>>>

7.3 Summary of Built-in Variables

Here is a summary of all of Octave's built-in variables along with cross references to additional information and their default values. In the following table octave-home stands for the root directory where all of Octave is installed (the default is ‘/usr/local’, version stands for the Octave version number (for example, 2.0.13) and arch stands for the type of system for which Octave was compiled (for example, i586-pc-linux-gnu).

DEFAULT_LOADPATH
See section 11.6 Function Files. Default value: ".:octave-home/lib/version".
EDITOR
See section 2.4.5 Commands For Manipulating The History. Default value: "emacs".
EXEC_PATH
See section 29.3 Controlling Subprocesses. Default value: ":$PATH".
INFO_FILE
See section 2.3 Commands for Getting Help. Default value: "octave-home/info/octave.info".
INFO_PROGRAM
See section 2.3 Commands for Getting Help. Default value: "octave-home/libexec/octave/version/exec/arch/info".
LOADPATH
See section 11.6 Function Files. Default value: ":", which tells Octave to use the directories specified by the built-in variable DEFAULT_LOADPATH.
OCTAVE_HOME
Default value: "/usr/local".
PAGER
See section 13 Input and Output. Default value: "less", or "more".
PS1
See section 2.4.6 Customizing the Prompt. Default value: "\s:\#> ".
PS2
See section 2.4.6 Customizing the Prompt. Default value: "> ".
PS4
See section 2.4.6 Customizing the Prompt. Default value: "+ ".
auto_unload_dot_oct_files
See section 11.8 Dynamically Linked Functions. Default value: 0.
automatic_replot
See section 14.1 Two-Dimensional Plotting. Default value: 0.
beep_on_error
See section 12 Error Handling. Default value: 0.
completion_append_char
See section 2.4.4 Letting Readline Type For You. Default value: " ".
default_eval_print_flag
See section 9 Evaluation. Default value: 1.
default_return_value
See section 11.2 Multiple Return Values. Default value: [].
default_save_format
See section 13.1.3 Simple File I/O. Default value: "ascii".
do_fortran_indexing
See section 8.1 Index Expressions. Default value: 0.
crash_dumps_octave_core
See section 13.1.3 Simple File I/O. Default value: 1.
define_all_return_values
See section 11.2 Multiple Return Values. Default value: 0.
empty_list_elements_ok
See section 4.1.1 Empty Matrices. Default value: "warn".
fixed_point_format
See section 4.1 Matrices Default value: 0.
gnuplot_binary
See section 14.3 Three-Dimensional Plotting. Default value: "gnuplot".
history_file
See section 2.4.5 Commands For Manipulating The History. Default value: "~/.octave_hist".
history_size
See section 2.4.5 Commands For Manipulating The History. Default value: 1024.
ignore_function_time_stamp
See section 11.6 Function Files. Default value: "system".
implicit_num_to_str_ok
See section 5.3 String Conversions. Default value: 0.
implicit_str_to_num_ok
See section 5.3 String Conversions. Default value: 0.
max_recursion_depth
See section 8.2.2 Recursion. Default value: 256.
ok_to_lose_imaginary_part
See section 15.3 Special Utility Matrices. Default value: "warn".
output_max_field_width
See section 4.1 Matrices. Default value: 10.
output_precision
See section 4.1 Matrices. Default value: 5.
page_screen_output
See section 13 Input and Output. Default value: 1.
prefer_column_vectors
See section 8.1 Index Expressions. Default value: 1.
print_answer_id_name
See section 13.1.1 Terminal Output. Default value: 1.
print_empty_dimensions
See section 4.1.1 Empty Matrices. Default value: 1.
resize_on_range_error
See section 8.1 Index Expressions. Default value: 1.
return_last_computed_value
See section 11.5 Returning From a Function. Default value: 0.
save_precision
See section 13.1.3 Simple File I/O. Default value: 17.
saving_history
See section 2.4.5 Commands For Manipulating The History. Default value: 1.
silent_functions
See section 11.1 Defining Functions. Default value: 0.
split_long_rows
See section 4.1 Matrices. Default value: 1.
struct_levels_to_print
See section 6 Data Structures. Default value: 2.
suppress_verbose_help_message
See section 2.3 Commands for Getting Help. Default value: 1.
treat_neg_dim_as_zero
See section 15.3 Special Utility Matrices. Default value: 0.
warn_assign_as_truth_value
See section 10.1 The if Statement. Default value: 1.
warn_comma_in_global_decl
See section 7.1 Global Variables. Default value: 1.
warn_divide_by_zero
See section 8.3 Arithmetic Operators. Default value: 1.
warn_function_name_clash
See section 11.6 Function Files. Default value: 1.
warn_reload_forces_clear
See section 11.8 Dynamically Linked Functions. Default value: 1.
warn_variable_switch_label
See section 10.2 The switch Statement. Default value: 0.
whitespace_in_literal_matrix
See section 4.1 Matrices. Default value: "".
ISBN 0954161726GNU Octave ManualSee the print edition