[Pkg-octave-devel] Matlab-Octave compatibility issue in future-Debian package

Andrey Romanenko andrey at enginum.com
Mon Mar 20 16:05:57 UTC 2006


Michael,

I do not have Matlab handy, but I think it has exist() function. and so does 
Octave. Therefore, you can try something like:
...

if exist("OCTAVE_VERSION")
   system(...);
else
   eval(...);
end;

Andrey



More information about the Pkg-octave-devel mailing list