Fortran DLL to MATLAB

1 回表示 (過去 30 日間)
JeongHeon
JeongHeon 2014 年 9 月 12 日
コメント済み: JeongHeon 2014 年 9 月 16 日
Is there any method *dll(from fortran) to matlab code conversion?
I have code(*.dll, *.h) and I have used these code in matlab(using by "loadlibrary")
I want to use this code for making other code, but there is some problems.
It works in only MATLAB2009a.
So, I want to know how to convert this code(*.dll or *.h) to matlab code

回答 (1 件)

Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh 2014 年 9 月 12 日
Hi JeongHeon,
I don't think if you can convert *.dll file to a *.m file(MATLAB File).
You can convert header files, *.h to *.m files (which is then called a prototype file or protofile), you definitely need to do this if you're planning to create a standalone application, as you can not add a header file to a standalone application.
Creating a prototype file is very straightforward, all details are provided in MATLAB documentation. see blow how to create prototype file, also read how to use it.
That's all you can do.
Good Luck!
  1 件のコメント
JeongHeon
JeongHeon 2014 年 9 月 16 日
Thank you very much!
I will try it.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeFortran with MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by