摘要
Matlab编程效率极高,但执行效率非常低;VisualC开发功能强大,执行速度快,但编程繁琐。Matcom可以实现Matlab和VC的完美结合。本文探讨了基于Matcom4.5的VC与Matlab接口程序的实现问题,从建立文档方式和建立文本框方式两种角度,详细介绍了将CPP代码插入VC的框架,即建立Matlab和VC的通用接口程序的方法。该方法实现了Matlab与VC程序的混合编制,具有一定的实用价值。
Matlab programming is extremely efficient, but its execution efficiency is very low. Visual C can develop powerfully and execute fast, but its programming is very tedious. Matcom can achieve the perfect combination of Matlab and VC. The paper emphasizes the realization of the interface program between Matlab and VC based on Matcom4. 5. The framework to insert CPP code into VC is introduced in detail by establishing a document and establishing a text toolbar, which is the method to establish a general interface device between Matlab and VC. The method achieves the mixed programming technology for Matlab and VC and has certain value in practice.
出处
《微计算机信息》
2010年第27期105-107,共3页
Control & Automation
基金
华侨大学科研基金资助项目(09BS615)