runtime using Matlab to run Fortran exe

조회 수: 8 (최근 30일)
Ramon
Ramon 2014년 11월 6일
답변: Image Analyst 2014년 11월 7일
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일
Try the system() or dos() commands.

카테고리

Help CenterFile Exchange에서 Fortran with MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by