Parameter Transfer Method of Mixed-Language Programming
The mixed-language programming is using two kinds of programming language or more to develop application. During the process of handling many engineering problems, the complex computation is often needed. So the method of mixed-language programming is often used in developing project software. MATLAB is high-performance numerical computation software, and VC++ is a considerably mature application development platform. They are often use in mix programming. During the process of VC++ and MATLAB mixed-language programming, when it calls algorithm function written in MATLAB in the VC++ environment, sometimes the parameters could not be easily passed to objective function. In this paper, a method resolving the parameters transfer of objective function is proposed. That is in the declaration of algorithm function canceling the objective function as one of its parameters, and adding the parameters of the objective function to the parameter of the algorithm function. Finally, a case of parallelism error evaluation system is given to illustrate feasibility of proposed method.
Daoguo Yang, Tianlong Gu, Huaiying Zhou, Jianmin Zeng and Zhengyi Jiang
Y. H. Sun et al., "Parameter Transfer Method of Mixed-Language Programming", Advanced Materials Research, Vols. 201-203, pp. 281-285, 2011