--- a +++ b/functions/adminfunc/ismatlab.m @@ -0,0 +1,3 @@ +function res = ismatlab() +% true if called from Matlab; false if called from Octave +res = exist('OCTAVE_VERSION','builtin') == 0;