comp.soft-sys.matlab
[Top] [All Lists]

Re: How can I compile a matlab function .m file into mex dll?

Subject: Re: How can I compile a matlab function .m file into mex dll?
From: "Markus"
Date: Thu, 22 Sep 2005 11:31:32 +0300
Newsgroups: comp.soft-sys.matlab
"kiki" <lunaliu3@xxxxxxxxx> wrote in message 
news:v3b4j19tpar8nrt6ek687tl1fbje36vp4n@xxxxxxxxxx
> On Wed, 21 Sep 2005 23:15:53 -0400, Christopher Hulbert
> <cchgroupmail@xxxxxxxxx> wrote:
>
>>kiki wrote:
>>> On 21 Sep 2005 17:01:59 -0700, lunaliu3@xxxxxxxxx wrote:
>>>
>>>
>>>>I remembered that I have done this a while back.
>>>>
>>>>But now with the new MALTAB 7.0.4, I only can do it///
>>>>
>>>>I have to use a combination of mex and mcc right?
>>>>
>>>>How can I do that?
>>>>
>>>>I want the dll to be callable from within Matlab so it should be mex
>>>>dll
>>>>
>>>>thanks a lot
>>>
>>>
>>>
>>> Anybody know how to do it? Thanks
>>
>>You can't compile it into a mex DLL unless you get an older version.
>>Why do you want a mex DLL?  You can however create a DLL just not
>>callable from matlab.
>
>
> What do you mean "I need an older version"? I am using Matlab
> 7.0.04...
>
> I just need this dll to be called from within Matlab... so it must be
> a mex dll...

See the External Interfaces documentation for creating mex files. It's
all there. 



<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy