摘要
介绍了VB与Matlab混合编程的七种方法,利用动态链接库DLL技术与Active技术实现VB对Matlab的调用,将Matlab强大的计算处理绘图功能与VB的可视化界面功能有机地结合起来,开发了磁化曲线建模与数值计算软件,简化了编程过程.该软件在电机与拖动课程磁路计算环节中成功应用,验证了该软件的有效性.同时,为计算机仿真技术应用于电机与拖动教学,打破传统实验教学模式奠定基础.
The seven methods of hybrid programming VB and Matlab are introduced.This paper describes mainly about using the technology of DLL and Active to realize that VB schedules Matlab,integrating the visual interface of VB and the strong computing,dealing and plot function of Matlab.Based on this,the modeling and numeric computing software of magnetic curve is developed.The software is successfully utilized to solve the problem of magnetic circuit in the subject of electric machine and drive.The validity is confirmed.Meanwhile,it lays foundation in order to introduce computer simulation technology in the teaching process and break the traditional teaching pattern.
出处
《渤海大学学报(自然科学版)》
CAS
2013年第2期166-171,95,共6页
Journal of Bohai University:Natural Science Edition
基金
辽宁省教育厅一般项目(No:L2012402)
国家自然科学基金资助项目(No:61104071)
辽宁省自然科学基金项目(No:201102005)