| 注册
首页|期刊导航|计算机工程与应用|Matlab与Fortran混合编程之DLL实现方法

Matlab与Fortran混合编程之DLL实现方法

潘克家 汤井田 郑洲顺

计算机工程与应用2011,Vol.47Issue(31):1-3,23,4.
计算机工程与应用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

潘克家 1汤井田 2郑洲顺3

作者信息

  • 1. 中南大学地球科学与信息物理学院,长沙410083
  • 2. 中南大学数学科学与计算技术学院,长沙410083
  • 3. 高性能计算与随机信息处理教育部重点实验室,长沙410081
  • 折叠

摘要

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)

中南大学博士后科学基金. ()

计算机工程与应用

OACSCDCSTPCD

1002-8331

访问量0
|
下载量0
段落导航相关论文