Is Octave

Version 1.4 (856 Bytes) by Kurt von Laven
Returns true when code is executing in GNU Octave.
746 Downloads
Updated 13 Mar 2015

View License

Returns false when code is executing in MATLAB or another MATLAB variant.

Cite As

Kurt von Laven (2024). Is Octave (https://www.mathworks.com/matlabcentral/fileexchange/28847-is-octave), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.4

Marked IsOctave.m user-executable. Removed trailing whitespace and switched from 2 spaces after each period to 1 in the interest of readability.

1.3.0.0

Made code available as a toolbox. No changes were made to the source code itself.

1.2.0.0

Replaced tabs with spaces so that the source code displays consistently in all text editors.

1.1.0.0

Optimized code.

1.0.0.0