Path: news.mathworks.com!not-for-mail
From: "renwen " <linrenwen@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: ndfun error
Date: Tue, 21 Jul 2009 08:33:03 +0000 (UTC)
Organization: &#19978;&#28023;&#36130;&#32463;&#22823;&#23398;
Lines: 8
Message-ID: <h43ufv$8e3$1@fred.mathworks.com>
References: <g6vdcv$6n6$1@fred.mathworks.com> <g7750n$8g$1@fred.mathworks.com> <g7sckr$hha$1@fred.mathworks.com>
Reply-To: "renwen " <linrenwen@gmail.com>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1248165183 8643 172.30.248.38 (21 Jul 2009 08:33:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 21 Jul 2009 08:33:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1564503
Xref: news.mathworks.com comp.soft-sys.matlab:557032


I meet the same problem as you. 
And resolve it by run fellowing command in matlab:

mex ndfun.c "D:\Program Files\MATLAB\R2008b\extern\lib\win64\microsoft\libmwlapack.lib" "D:\Program Files\MATLAB\R2008b\extern\lib\win64\microsoft\libmwblas.lib"

PC : Vista X 64 with AMD 2-core CPU.
Matlab: R2008b
VC++: Visual St. 2008