关于Qt与Matlab绘图的问题

lwf408498027 2013-01-10 08:47:18
1.我知道怎么调用Matlab生成的dll来画图,但它是单独在一个新窗口打开,论坛的高手们知不知道怎么将图形嵌入到主程序窗口?
2.能使用Matlab函数对窗口中的图形进行操作吗?如果能,那些Matlab接口函数我该去哪儿找?
...全文
641 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
lwf408498027 2013-01-14
  • 打赏
  • 举报
回复
谢谢,我研究研究。
donwmufromdying 2013-01-13
  • 打赏
  • 举报
回复
在window平台下 我使用了这个: HWND hPlayWnd = myMainWindow.winId();//播放窗口的句柄,为NULL表示不播放图象 然后用这个句柄来嵌入我的视频流
donwmufromdying 2013-01-13
  • 打赏
  • 举报
回复
貌似你客一看看这个函数: WId QWidget::winId() const Returns the window system identifier of the widget. Portable in principle, but if you use it you are probably about to do something non-portable. Be careful. If a widget is non-native (alien) and winId() is invoked on it, that widget will be provided a native handle. On Mac OS X, the type returned depends on which framework Qt was linked against. If Qt is using Carbon, the {WId} is actually an HIViewRef. If Qt is using Cocoa, {WId} is a pointer to an NSView. This value may change at run-time. An event with type QEvent::WinIdChange will be sent to the widget following a change in window system identifier. 我曾经做过一个视频监控应用。使用RJ45端口的网络摄像机。也是把视屏嵌入Qt的window

16,212

社区成员

发帖
与我相关
我的任务
社区描述
Qt 是一个跨平台应用程序框架。通过使用 Qt,您可以一次性开发应用程序和用户界面,然后将其部署到多个桌面和嵌入式操作系统,而无需重复编写源代码。
社区管理员
  • Qt
  • 亭台六七座
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧