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: "Titus Edelhofer"
Date: Thu, 22 Sep 2005 10:53:26 +0200
Newsgroups: comp.soft-sys.matlab
Hi kiki,

no, you can't. Why do you want to compile to a dll?
For speed? The compiled code is running at the same speed...
For hiding code? Use pcode instead.

Titus

"kiki" <lunaliu3@xxxxxxxxx> schrieb im Newsbeitrag 
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... 



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