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 Exchange에서 Fortran 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