runtime using Matlab to run Fortran exe

I am using matlab to execute a fortran program with the following command: !filename.exe input.dat
If I simply run the program with the same input file in a dos window it takes about 4 minutes to run. While using the command above, it takes about 20 minutes. Is there a way to speed this up using a different command?

回答 (1 件)

Image Analyst
Image Analyst 2014 年 11 月 7 日

0 投票

Try the system() or dos() commands.

カテゴリ

ヘルプ センター および File ExchangeFortran with MATLAB についてさらに検索

質問済み:

2014 年 11 月 6 日

回答済み:

2014 年 11 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by