Is Octave
Version 1.4 (856 Bytes) by
Kurt von Laven
Returns true when code is executing in GNU Octave.
Returns false when code is executing in MATLAB or another MATLAB variant.
Cite As
Kurt von Laven (2025). Is Octave (https://se.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 LinuxCategories
Find more on Octave in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| 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 |
