Gnu Fortran, C, Lapack and Blas from Windows Matlab

Setting up of a free environment for calling Fortran 77 routines from Matlab and using Lapack and Bl
ダウンロード: 7.8K
更新 2007/10/24

ライセンスがありません

According to the Matlab documentation the only supported Fortran compiler is Intel Visual Fortran. The author of this document has experimented with using the free Gnu Fortran 77 via two packages: MinGW and Gnumex, and describes the following procedures:

· Setting up MinGW and Gnumex
· Using Gnumex to make mex file creation compatible with Gnu
· Compiling Fortran programs from within Matlab
· Writing mex gateway functions
· Creating mex files
· Building a Lapack/Blas library
· Linking with the Lapack/Blas library

The document contains two examples of interfacing Fortran with Matlab via a C gateway function, one minimal, and one realistic. A replacement for one Blas routine is supplied, as well as a script for making the Lapack library. The document is rather terse, and the intention is not to teach mex file use. Readers who find faults with the document are encouraged to report this back to the author.

引用

Kristjan Jonasson (2024). Gnu Fortran, C, Lapack and Blas from Windows Matlab (https://www.mathworks.com/matlabcentral/fileexchange/11506-gnu-fortran-c-lapack-and-blas-from-windows-matlab), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R14SP3
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersFortran with MATLAB についてさらに検索
タグ タグを追加

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0

Document brought up to date for new versions of software described in it