摘要
给出了利用动态连接库(DynamicLinkLibrary即dll),MatrixVB组件和Ac-tiveX技术,实现VisualBasic6.0对Matlab6.5的编程调用的方法并通过编程实践总结出各种实现方法各自的优缺点:利用动态连接库技术的方法实现较为复杂,但其功能强大,应用程序灵活性高;利用MatrixVB组件能够实现两者较为完美的结合,应用程序可以脱离编程环境发布,但是所能利用的函数有限;利用ActiveX技术的方法定制的应用程序需要Matlab操作平台的支持,但其实现简单,操作灵活。
Matrix VB COM , Dynamic Link Library (dll) and ActiveX technique are used to joint programming of Visual Basic 6.0 and Matlab 6. 5. Each method has its advantages and disadvantages: Dynamic Link Library (dll) technique have the virtues of MatrixVB COM technique but the method is complex to some extend because of too many techniques contained; MatrixVB COM technique can make the perfect combination of the VB6.0 and Matlab 6.5, but it has the limit of the functions; ActiveX technique is a method by which the application run and manage the Matlab functions, so the application needs the support of the Matlab platform.
出处
《控制工程》
CSCD
2004年第S1期54-56,63,共4页
Control Engineering of China