请教 MATLAB 接口编程问题!!!!
<br>我在MATLAB 接口变成中出现下面的错误<br>///////////////////////////////////////////////////////////////////////////////////////<br>mex test.cpp<br>Microsoft (R) Incremental Linker Version 6.00.8168 <br>Copyright (C) Microsoft Corp 1992-1998. All rights reserved. <br><br>test.obj<br> Creating library _lib2750.x and object _lib2750.exp <br>test.obj : error LNK2001: unresolved external symbol __imp__DispatchMessageA@4 <br>test.obj : error LNK2001: unresolved external symbol __imp__TranslateMessage@4 <br>test.obj : error LNK2001: unresolved external symbol __imp__GetMessageA@16 <br>test.obj : error LNK2001: unresolved external symbol __imp__ShowWindow@8 <br>test.obj : error LNK2001: unresolved external symbol __imp__CreateWindowExA@48 <br>test.obj : error LNK2001: unresolved external symbol __imp__RegisterClassA@4 <br>test.obj : error LNK2001: unresolved external symbol __imp__LoadCursorA@8 <br>test.obj : error LNK2001: unresolved external symbol __imp__LoadIconA@8 <br>test.obj : error LNK2001: unresolved external symbol __imp__PostQuitMessage@4 <br>test.obj : error LNK2001: unresolved external symbol __imp__EndPaint@8 <br>test.obj : error LNK2001: unresolved external symbol __imp__BeginPaint@8 <br>test.obj : error LNK2001: unresolved external symbol __imp__DefWindowProcA@16 <br>test.obj : error LNK2001: unresolved external symbol __imp__LineTo@12 <br>test.obj : error LNK2001: unresolved external symbol __imp__MoveToEx@16 <br>test.obj : error LNK2001: unresolved external symbol __imp__SetROP2@8 <br>test.obj : error LNK2001: unresolved external symbol __imp__Rectangle@20 <br>test.obj : error LNK2001: unresolved external symbol __imp__SelectObject@8 <br>test.obj : error LNK2001: unresolved external symbol __imp__CreatePen@12 <br>test.obj : error LNK2001: unresolved external symbol __imp__SetBkMode@8 <br>test.obj : error LNK2001: unresolved external symbol __imp__SetViewportExtEx@16 <br>test.obj : error LNK2001: unresolved external symbol __imp__SetViewportOrgEx@16 <br>test.obj : error LNK2001: unresolved external symbol __imp__SetWindowExtEx@16 <br>test.obj : error LNK2001: unresolved external symbol __imp__SetWindowOrgEx@16 <br>test.obj : error LNK2001: unresolved external symbol __imp__GetClientRect@8 <br>test.obj : error LNK2001: unresolved external symbol __imp__SetMapMode@8 <br>test.dll : fatal error LNK1120: 25 unresolved externals <br><br>C:\MATLAB6P5\BIN\WIN32\MEX.PL: Error: Link of 'test.dll' failed. <br><br>??? Error using ==> mex<br>Unable to complete successfully<br>///////////////////////////////////////////////////////////////////////////////////////<br><br>我想用mexfuction代替WINDOWS编程中的WINMIAN()函数,编译、连接都没什么问题,就是在matlab里面用mex test.cpp时出现上述问题,请高手指教!!跪谢!<br><br>有兴趣可以共同讨论 QQ :253458302[此贴子已经被aspen于2006-5-5 14:00:45编辑过]
回复:(fqr2001)请教 MATLAB 接口编程问题!!!!...
test内容贴以下
页:
[1]