Technical Solutions
Why can't I create an M-MEX DLL with the MATLAB Add-in for Visual Studio?
Date Last Modified: Friday, June 26, 2009
| Solution ID: | 1-18J1I | |
| Product: | MATLAB | |
| Platform: | Windows | |
| Operating System: | Windows Any |
Subject:
Why can't I create an M-MEX DLL with the MATLAB Add-in for Visual Studio?
Problem Description:
I get the following (or similar) errors when I try to create a MEX function from an M-file in the Visual MATLAB add-in for Microsoft Visual Studio (MSVC) using the M-MEX DLL Application type.
Linking...
LINK : error LNK2001: unresolved external symbol mexFunction
test1.lib : fatal error LNK1120: 1 unresolved externals
LINK : fatal error LNK1141: failure during build of exports file
Error executing link.exe.
Solution:This is a bug in the MATLAB Add-in for Visual Studio in MATLAB 6.0 (R12) that has been fixed in MATLAB 6.1 (R12.1). |
|
|
Store

