Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Compiling MEX-file with external library
Date: Thu, 29 Oct 2009 16:49:02 +0000 (UTC)
Organization: Boeing
Lines: 14
Message-ID: <hcch1u$73r$1@fred.mathworks.com>
References: <a23855e8-0d6f-4496-b672-014203e218e1@p15g2000vbl.googlegroups.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1256834942 7291 172.30.248.37 (29 Oct 2009 16:49:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 29 Oct 2009 16:49:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 756104
Xref: news.mathworks.com comp.soft-sys.matlab:581053


Ralf <meteoradix@gmx.net> wrote in message <a23855e8-0d6f-4496-b672-014203e218e1@p15g2000vbl.googlegroups.com>...
> 
> I am trying to compile a MEX-file, which uses an external library
> function. The library is available as "tcdlls.lib".
> 
> I have tried
> also copying the .lib file to the working directory, but this did not
> help.

What mex command did you use when you tried this method? I would expect this to work:

mex timestwo.c tcdlls.lib

James Tursa