octave-maintainers
[Top][All Lists]
Advanced

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

Re: Mex Extensions


From: John W. Eaton
Subject: Re: Mex Extensions
Date: Wed, 10 Jan 2007 14:17:27 -0500

On 10-Jan-2007, David Bateman wrote:

| If no help is found in an oct-file it shouldn't go looking for it in an
| m-file...

Octave already does this.  One case where this behavior makes sense is
if you have both .oct and .mex versions of a function (you need .mex
for Matlab and you want to use .oct for Octave so that you avoid the
data copying issues with using .mex in Octave) and you only want to
store the doc string in one place.  In that case, you should omit it
from the .oct file and store it in a corresponding .m file and then it
will work for both Octave and Matlab without having to have two copies
of the doc string.

jwe


reply via email to

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