Re: S-Function and DLL MEX-File
- From: Christopher Hulbert <cchgroupmail@xxxxxxxxx>
- Date: Tue, 31 Jan 2006 11:56:24 -0500
Marco Polloni wrote:
> I'm not sure I've done the right thing. I've not found the
>
>
>>Librarian->General page
>
>
> (I've got Visual Studio 6.0), so I put the filename sfun_GASDYN.def in
> C/C++ -> Preprocessor definitions.
>
> During the linking I got
>
> sfun_GASDYN.def : error LNK2001: unresolved external symbol mexfunction
> Debug/sfun_GASDYN.lib : fatal error LNK1120: 1 unresolved externals
> LINK : fatal error LNK1141: failure during build of exports file
>
> I know I'm making you losing time, but if you doesn't mean, can I have
> any more explanations?
>
> Thanks anyway.
>
> Marco
>
The def file goes with the mexFunction or MEXFUNCTION dll. According to the
link error you're producing a static library???
Go back to the beginning where you got the corrupt file problem and just don't
list the .mod in your compilation of the C function.
.
- Follow-Ups:
- Re: S-Function and DLL MEX-File
- From: Marco Polloni
- Re: S-Function and DLL MEX-File
- References:
- Re: S-Function and DLL MEX-File
- From: Marco Polloni
- Re: S-Function and DLL MEX-File
- From: Christopher Hulbert
- Re: S-Function and DLL MEX-File
- From: Marco Polloni
- Re: S-Function and DLL MEX-File
- From: Christopher Hulbert
- Re: S-Function and DLL MEX-File
- From: Marco Polloni
- Re: S-Function and DLL MEX-File
- Prev by Date: Re: import text file with hex values to matlab
- Next by Date: Re: Product of distributions --> gaussian
- Previous by thread: Re: S-Function and DLL MEX-File
- Next by thread: Re: S-Function and DLL MEX-File
- Index(es):