- 1、本文档共5页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
【三种方法】LabVIEW与Matlab的无缝集成
第 26卷第 3期 计算机应用 Vo l. 26 No. 3
2006年 3 月 Compu ter App lication s M ar. 2006
文章编号 : 100 1 - 9081 (2006) 03 - 0695 - 04
LabV IEW 与 Matlab 的无缝集成
王禹林 ,熊振华 ,丁 汉
(上海交通大学 机械与动力工程学院 ,上海 200030)
(wyl_ sj tu @ sj tu. edu. cn)
摘 要 :结合实例详细介绍了 L abV IEW 与 M atlab无缝集成的三种常用方法 , 即 COM 组件法 、中
间文件传递参数法和VC + +参数类型转化法 。利用这些方法可将两种软件取长补短 ,且便于软件的
发布 。
关键词 : L abV IEW ; M atlab; COM ; DLL ; 接口技术 ; 无缝集成
中图分类号 : TP3 11 文献标识码 : A
Seam less in tegra tion between L abV IEW and M a tlab
WAN G Yu lin , X ION G Zhenhua, D IN G H an
(S chool of M echan ica l E ng ineering, S hang ha i J iaotong Un ivers ity, S hang ha i 200030, Ch ina)
A b stract: Three m ethod s were introduced w ith a typ ical examp le to show how to integrate L abV IEW and M atlab
seam lessly, wh ich were COM object m ethod, tran sm itting p aram eter m ethod w ith temporary file and the m ethod of
encap su lating the well develop ed algorithm to the dynam ic link library (DLL ) and tran sform ing the p aram eter typ e through
u sing VC + +. The se m ethod s help ed to relea se the software easily.
Key words: L abV IEW ; M atlab; COM ; DLL ; interface technology; seam less integration
1. 1 COM 组件法
0 引言
LabV IEW 5. 0 及 以上 的版本都提供 了对 COM 的支持。
在工程领域中 , L abV IEW 和 M atlab 是倍受程序开发人员
文档评论(0)