runtime using Matlab to run Fortran exe

3 views (last 30 days)
Ramon
Ramon on 6 Nov 2014
Answered: Image Analyst on 7 Nov 2014
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?

Answers (1)

Image Analyst
Image Analyst on 7 Nov 2014
Try the system() or dos() commands.

Categories

Find more on Fortran with MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!