octave - Man Page
A high-level interactive programming language for numerical computations.
Examples (TL;DR)
- Start an interactive session:
octave
- Execute a specific script file:
octave path/to/script.m
- Execute a script file with specific arguments:
octave path/to/script.m argument1 argument2 ...
- Start an interactive session with a GUI:
octave --gui
- Display help:
octave --help
- Display version:
octave --version
Synopsis
octave [options]... [file]
Description
Octave is a high-level interactive scientific programming language. It has a powerful mathematics-oriented syntax for solving problems numerically, as well as built-in 2-D/3-D plotting and visualization tools. Octave provides an integrated development environment in either graphical or command-line form. Programs may also be run in batch mode to process data without interaction.
Options
A list of the most useful command-line options for octave is available by running the following command from the shell.
octave --help
Documentation
The primary documentation for Octave is written using Texinfo, the GNU documentation system, which allows the same source files to be used to produce online and printed versions of the manual.
You can read the built-in copy of the Octave documentation by issuing the following command from within octave.
octave:1> doc
The Info files may also be read with a stand-alone program such as info or xinfo. HTML, Postscript, or PDF versions of the documentation are installed on many systems as well. The latest version of the documentation is available at https://docs.octave.org/latest.
Bugs
The Octave project maintains a bug tracker at https://bugs.octave.org. Before submitting a new item please read the instructions at https://www.octave.org/bugs.html\ on how to submit a useful report.
Files
Upon startup Octave looks for four initialization files. Each file may contain any number of valid Octave commands.
- octave-home/share/octave/site/m/startup/octaverc
Site-wide initialization file which changes options for all users. octave-home is the directory where Octave was installed such as /usr/local.
- octave-home/share/octave/version/m/startup/octaverc
Site-wide initialization file for Octave version version.
- ~/.octaverc
User's personal initialization file.
- .octaverc
Project-specific initialization file located in the current directory.
Author
John W. Eaton and many others. The list of contributors to the Octave project may be shown with info octave Acknowledgements. The list is also available online at https://docs.octave.org/latest/Acknowledgements.html.
Referenced By
mkoctfile(1), octave-cli(1), octave-config(1), pamtooctaveimg(1), sox(1), soxformat(7).