摘要
介绍了Matlab和Visual C++混合编程的几种常用方法及怎样设置Visual MATCOM编译环境,重点讨论了Matlab工具箱中某些以自定义函数作为输入参数的函数在VC++中无法编译的问题。在Visual MATCOM编程环境下,借助MATCOM内置函数库,实现了VC++对此类函数的直接调用。
The several conventional methods concerning mixed programming with MATCOM and VC++ and how to complete the Visual MATCOM installation with the VC++ Developer Studio environment are simply introduced. It is discussed that some functions in Matlab toolboxs required the user-defined function as its one input argument can't be compiled by VC++ compiler correctly. The method of Calling the user-defined function as the input argument is presented by mean of the MATCOM's built-in function library
出处
《电脑编程技巧与维护》
2009年第22期21-23,共3页
Computer Programming Skills & Maintenance
基金
国家重点基础研究发展计划(973)项目(2009CB219307)