octave-maintainers
[Top][All Lists]
Advanced

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

Re: New Function: verlessthan.m


From: David Bateman
Subject: Re: New Function: verlessthan.m
Date: Thu, 20 Mar 2008 17:06:00 +0100
User-agent: Thunderbird 2.0.0.12 (X11/20080306)

John W. Eaton wrote:
> On 16-Mar-2008, Bill Denney wrote:
>
> | Attached is the new function verlessthan.m.
>
> Isn't this called verLessThan in Matlab?
>
> Also, I think this function would have limited utility as far as
> Matlab compatibility goes since code written to check Matlab toolbox
> versions will likely fail in Octave because Octave may not have a
> package with exactly the same name as a Matlab toolbox, and even if
> those match, the version numbers will almost certainly be different.
> So is this function really needed in Octave?  Perhaps instead of
> trying to do something useful, it should just print out a warning and
> return.  Whether it should always return true or false, I'm not sure.
> The doc string could explain that it exists because Matlab has this
> function, but that it is really not useful to check package version
> numbers in portable code.
>
> jwe
>
>   
This is true for compatibility with Matlab. However, it might be useful
in itself within Octave code to have a check on a package version
number. Whether that should be done with a function with the same name
as the equivalent Matlab function is a different question..

D.


-- 
David Bateman                                address@hidden
Motorola Labs - Paris                        +33 1 69 35 48 04 (Ph) 
Parc Les Algorithmes, Commune de St Aubin    +33 6 72 01 06 33 (Mob) 
91193 Gif-Sur-Yvette FRANCE                  +33 1 69 35 77 01 (Fax) 

The information contained in this communication has been classified as: 

[x] General Business Information 
[ ] Motorola Internal Use Only 
[ ] Motorola Confidential Proprietary



reply via email to

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