Navigation

Operators and Keywords

Function List:

C++ API

: v = version ()
: [v, d] = version ()
: v = version (feature)

Get version information for Octave.

If called without input argument, the first return value v gives the version number of Octave as a string. The second return value d holds the release date as a string.

The following options can be passed for feature:

"-date"

for the release date of the running build,

"-description"

for a description of the release (always an empty string),

"-release"

for the name of the running build,

"-java"

for version information of the Java VM,

"-fftw"

for version information for the linked FFTW,

"-blas"

for version information for the linked BLAS (not implemented),

"-lapack"

for version information for the linked LAPACK (not implemented).

The variant with no input and output argument is an alias for the function OCTAVE_VERSION provided for compatibility.

See also: OCTAVE_VERSION, ver.

Package: octave