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
%
% $Id: isoctave.m 12780 2011-02-08 04:12:54Z mhucka $
% $HeadURL: http://sbml.svn.sourceforge.net/svnroot/sbml/trunk/libsbml/src/bindings/matlab/isoctave.m $
%---------------------------------------------------------------
%
% 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;
