From help-octave-request at bevo dot che dot wisc dot edu Thu Oct 12 05:15:36 1995 Subject: Detecting Octave From: Eyal Doron To: help-octave at bevo dot che dot wisc dot edu (Octave mailing list) Date: Thu, 12 Oct 1995 11:04:55 +0100 (MET) Hi, I would like an .m file to detect if its running under Matlab or Octave. Anybody have a generic solution? Before you start, things like if exist(whitespace_in_literal_matrix) don't work. I could search for .m files which exist in one and not the other, but that is inelegant and version dependent. Any other way? If not, maybe a builtin function should be included in the future? Eyal Doron