[422372]: / functions / adminfunc / ismatlab.m

Download this file

4 lines (3 with data), 130 Bytes

1
2
3
function res = ismatlab()
% true if called from Matlab; false if called from Octave
res = exist('OCTAVE_VERSION','builtin') == 0;