help-octave
[Top][All Lists]
Advanced

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

Re: Help in porting a toolbox


From: Carnë Draug
Subject: Re: Help in porting a toolbox
Date: Fri, 25 May 2012 01:40:23 +0100

On 24 May 2012 20:43, Mathieu Dubois <address@hidden> wrote:
> The code need to work on Matlab too.
> Is there a way to know you're under octave (something like a ISOCTAVE 
> variable)? That would be a simple way to write conditionnal code like
> if exists('ISOCTAVE')
>  % Octave specific code
> else
>  % Matlab specific code
> end

As Jordi has already mentioned, you should really report bugs when you
find them. The community needs to help if octave is to become even
better. That said, this type of code is necessary while full
compatibility does not exist. What you want to do is explained on the
Octave wiki at http://octave.org/wiki/index.php?title=Compatibility

Carnë


reply via email to

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