声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 1029|回复: 1

请教 MATLAB 接口编程问题!!!!

[复制链接]
发表于 2006-5-2 20:32 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
<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 ==&gt; 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编辑过]

回复
分享到:

使用道具 举报

发表于 2006-5-10 09:34 | 显示全部楼层

回复:(fqr2001)请教 MATLAB 接口编程问题!!!!...

test内容贴以下
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-11-14 09:12 , Processed in 0.063230 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表