摘要
Matlab引擎是在VC ++中使用Matlab的接口方式之一。在详细分析了Matlab引擎的工作机理及其在VC ++中的调用方法后 ,提出使用C ++的面向对象技术对Matlab引擎的调用和数据组织进行封装 ,定义了CMatlabEngine类。该类实现了不同数据类型组织的透明化 ,简化了程序设计过程 ,为用户提供了一个友好的编程接口环境。最后 ,通过实例展示了使用CMatlabEngine类进行编程的调用过程 ,表明了它的有效性。
The MatlabEngine is one of the application program interface (API) using Matlab in VC++. After the detailed analysis, the paper proposes to encapsulate the arrangement of data and the usage of the MatlabEngine. A VC++ class named CMatlabEngine is defined. The class implements the vitrification of the arrangement for different data class, predigests the programming process and provides a friendly interface environment for the program. Finally, the paper describes the MatlabEngine in an example.
出处
《应用科技》
CAS
2001年第11期41-44,共4页
Applied Science and Technology