Documentation>MATLAB API>MISC - vl_isoctave

X = VL_ISOCTAVE() returns TRUE if the script is running in the Octave environment (instead of MATLAB).