help-octave
[Top][All Lists]
Advanced

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

Re: compile C++ mex code with Octave libraries


From: Ben Abbott
Subject: Re: compile C++ mex code with Octave libraries
Date: Thu, 24 Nov 2011 11:45:40 -0500

On Nov 24, 2011, at 10:10 AM, Arnaud BARRE wrote:

> Hi Hafedh,
> 
> I think the problem is not related to the MEX function but due to the
> fact that you create a M-File which has the name of the function that
> you intent to use. Octave uses it and as there is nothing inside, it
> gives you the warning that some return values are undefined. This
> problem also occurs with the latest version of Maltab, since the
> extension DLL is no more accepted.
> 
> Can you delete the file MedianFilter.m, rename $MedianFilter.dll into
> MedianFilter.mex, relaunch Octave and try again your function test.
> 
> Arnaud

Quick comment.

The mex-file should take precedence over the m-file. So it is possible to do 
things like have the m-file compile the mex-file if it is missing.

Ben



reply via email to

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