[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Detecting Octave

From: Eyal Doron
Subject: Detecting Octave
Date: Thu, 12 Oct 1995 11:04:55 +0100 (MET)

   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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]