摘要
Matlab具有强大的数据处理和图形显示功能,但Matlab程序的执行效率非常低,而且其平台上开发的程序不能脱离本身的运行环境;VC++具有强大的用户界面开发功能,程序执行效率高,但程序编写繁琐,结合两者的优势可以快速开发出功能强大的应用系统。针对如何将两者结合这一问题,探讨了基于Matcom4.5的VC++与Matlab混合编程,并结合曲线拟合实例给出了具体的操作步骤。结论表明,利用此方法实现的VC++与Matlab的混合编程操作简单,而且能够充分发挥两者的优势,缩短程序的开发周期。
Matlab has powerful data processing and graphics display capabilities,but its execution efficiency is very low,and programs de- veloped based on Maflab platform can not run away from their own environment. VC++ can develop user interface powerfully and exe- cute fast,but its programming is very tedious. It can design the powerful application system quickly through combining the advantages of both. To solve the problem that how to combine both of them,study programming by combining Matlab with VC++ based on Matcom, and give an example about curve fitting to show the specific steps. The conclusion shows that the method that combined programming of Matlab and VC++ is not only simple,but also can give full play to the advantages of both to shorten the development cycle.
出处
《计算机技术与发展》
2012年第7期64-66,共3页
Computer Technology and Development