摘要
Matlab提供外部程序接口,便于其他开发语言使用其计算功能.描述了Matlab外部程序接口的结构,重点论述了在无Matlab环境下使用Matlab计算功能的方法———利用Matlab外部程序接口创建通用的动态链接库.参数传递出错是开发语言调用动态链接库时经常遇到的问题,提出利用中间文件传递参数的方法,成功解决这一问题.以矩阵求秩为例,详细说明了Matlab外部程序接口的使用.最后,对Matlab外部程序接口进行了评论.
In order to utilize its calculation function, Matlab provides other programming language with external program interface. The paper describes the structure of Matlab external program interface, and mainly discusses the method using Matlab calculation function, establishing dynamic link library using Matlab external program interface. Development language often encounters parameter transfer error during calling dynamic link library. Applying assistant files successfully solves this problem. The paper illustrates the use of Matlab external program interface with the example of seeking matrix's order. Finally, comment is made upon Matlab external program interface.
出处
《三峡大学学报(自然科学版)》
CAS
2006年第2期166-168,共3页
Journal of China Three Gorges University:Natural Sciences
关键词
科学计算
MATLAB接口
动态链接库
参数传递
scientific calculation
Matlab interface
dynamic link library
parameter transfer