摘要
Visual C++具有应用程序界面开发能力强和程序执行效率高的特点,Matlab则具有强大的图形显示和数据处理功能。这两种软件的混合编程可以综合它们的优点,大大提高编程效率和程序的可靠性。在此通过Visual C++和Matlab混合编程方法的对比分析,便于程序开发人员在不同的应用背景下选择合适的编程方法。首先简要介绍了Matlab引擎、MCC编译器、Matcom程序、Matlab数学函数库、动态链接库、COM组件和MEX文件等7种混合编程方法,并对这些方法进行了详细的对比分析。然后根据其分析结果,归纳总结出每种方法的优缺点,提出了这些方法的应用范围。
Since Visual C++ has characteristics of strong ability of application program interface development and high-effi-ciency program execution and Matlab is powerful in graphic display and data processing,the mixed programming of both soft-wares can integrate their advantages,and improve the programming efficiency and reliability. The purpose of this paper is to make the program developers easy to choose suitable method under different applied conditions through comparing and analyzing various mixed programming methods of Visual C++ and Matlab. Seven mixed programming methods(Matlab engine,MCC com-piler,Matcom program,Matlab math function library,dynamic link library,COM components and MEX files)are briefly intro-duced,and are comparatively analyzed. According to the analysis results,their advantages and disadvantages are summarized, and application field of each method is pointed out.
出处
《现代电子技术》
2013年第20期47-50,共4页
Modern Electronics Technique
基金
湖南省和湖南理工学院大学生实验项目(湘教通【2013】191号
校教通【2013】26号)
湖南省教育厅科研项目(11C0630)
湖南理工学院教研项目(2013B18)