/usr/share/octave/site/m/libsbml5/isoctave.m is in libsbml5-octave 5.12.0+dfsg-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | function t=isoctave()
%ISOCTAVE True if the operating environment is octave.
% Usage: t=isoctave();
%
% Returns 1 if the operating environment is octave, otherwise
% 0 (Matlab)
% @file isoctave.m
% @brief Returns true if using octave
% @author Sarah Keating
%
%
% ISOCTAVE.M
%
% COPYRIGHT : (c) NUHAG, Dept.Math., University of Vienna, AUSTRIA
% http://nuhag.eu/
% Permission is granted to modify and re-distribute this
% code in any manner as long as this notice is preserved.
% All standard disclaimers apply.
%
if exist('OCTAVE_VERSION')
% Only Octave has this variable.
t='1';
else
t='0';
end;
|