OptFEM2DP1 Toolbox  V1.2b3
Matlab/Octave Optimized P1-Lagrange Finite Element Method in 2D
 All Files Functions Pages
isOctave.m
Go to the documentation of this file.
1 function bool=isOctave()
2 % function bool=isOctave()
3 % To determine whether Octave is used or not
4 %
5 % Return values:
6 % bool: if true Octave is used else Matlab is
7 %
8 % Copyright:
9 % See \ref license
10 log=ver;
11 bool=strcmp(log(1).Name,'Octave');