计算机工程与应用2011,Vol.47Issue(31):1-3,23,4.DOI:10.3778/j.issn.1002-8331.2011.31.001
Matlab与Fortran混合编程之DLL实现方法
Mixed language programming in Matlab and Fortran via dynamic linklibrary
摘要
Abstract
The advantages and disadvantages of Matlab and Fortran is briefly introduced in this article.And two methods of mixed language programming through calling Fortran dynamic link library from Matlab are discussed in detail.Take Gauss-Jordan elimination with partial pivoting for example,the computational results of the same algorithm under a variety of different implementation ways are carefully compared in terms of accuracy and computational time.The result indicates that, mixed language programming via dynamic link library can make full of existing packages, combine high efficiency of Fortran with powerful matrix computation and figure drawing and compiling functions of Matlab,thus conforming to the current development direction of programming in scientific and engineering computing.关键词
动态链接库/混合编程/Matlab语言/Fortran语言/高斯-约当消去法Key words
dynamic link library/mixed-programming/Matlab/Fortran/Gauss-Jordan elimination分类
信息技术与安全科学引用本文复制引用
潘克家,汤井田,郑洲顺..Matlab与Fortran混合编程之DLL实现方法[J].计算机工程与应用,2011,47(31):1-3,23,4.基金项目
国家高技术研究发展计划(863)(the National High-Tech Research and Development Plan of China under Grant No.2007AA06Z134) (863)
国家重点基础研究发展规划(973) (No.2011 CB606306) (973)
中南大学自由探索计划(No.2011QNZT 102) (No.2011QNZT 102)
中南大学博士后科学基金. ()