help-octave
[Top][All Lists]
Advanced

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

How to determine if you are in octave or matlab


From: David Grohmann
Subject: How to determine if you are in octave or matlab
Date: Mon, 30 Apr 2007 18:09:27 -0500
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)

is there a function call or snippet of code that both octave and matlab will respond to that can be used to determine programatically if you are running under octave or matlab?

so something like this can be written:

if in_octave
   do_something();
else
   do_something_slightly_differently();
end

Thanks,

--
David Grohmann
Senior Student Associate
Applied Research Lab : UT Austin : ESL - S206
Office: 512-835-3237




reply via email to

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