摘要
本文首先分析了工程设计和系统仿真软件包Matlab的优缺点,然后介绍一种将Matlab与C++结合的辅助工具—Matcom。Matcom可以将Matlab的M文件转换为CPP文件,为C++程序所使用,并能通过C++编译器编译连接成可执行文件,提高M文件的执行效率。最后用具体实例说明如何通过Matcom实现Matlab与visual C++的混合编程。
Matiab is a predominate software for engineering design and system simulation and its advantages and disvantages are analysised in this paper. And then an auxiliary software-Matcom which can combine Matiab and C+ + is introduced.Matcom can translate M files into CPP files, which can be used by C+ + program and can be translated into executable file by C+ + compiler to improve execution efficiency of M files. At last, an example is used to show how to realize hybrid programming between Visual C++ and Matiab with Matcom.
出处
《阜阳师范学院学报(自然科学版)》
2003年第1期58-60,共3页
Journal of Fuyang Normal University(Natural Science)