Try the system() or dos() commands.
runtime using Matlab to run Fortran exe
3 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Fortran with MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!