sustaining_gazes/matlab_version/face_validation/DeepLearnToolbox/util/myOctaveVersion.m

8 lines
169 B
Matlab

% return OCTAVE_VERSION or 'undefined' as a string
function result = myOctaveVersion()
if isOctave()
result = OCTAVE_VERSION;
else
result = 'undefined';
end