Thread Subject: Using function MEX with .dll

Subject: Using function MEX with .dll

From: Daniel

Date: 3 Feb, 2012 11:20:10

Message: 1 of 2

How do I do to compile my project .cpp linking with .dll file? For example mex teste.cpp libteste.dll. I don´t have a .lib file.

Subject: Using function MEX with .dll

From: Bruno Luong

Date: 3 Feb, 2012 13:30:31

Message: 2 of 2

"Daniel " <dcerignoni@gmail.com> wrote in message <jggfta$r13$1@newscl01ah.mathworks.com>...
>I don´t have a .lib file.

Without lib and header file is a bad start, but manageable:

http://www.codeguru.com/cpp/cpp/cpp_mfc/tutorials/article.php/c9855

See "Explicit Linking" part.

Bruno

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com