How to run a fortran exe file compiled in Release mode?
5 views (last 30 days)
Show older comments
I am trying to run a fortran exe file compiled by Visual Studio and Intel Fortran from Matlab. I am using the following codes in Matlab:
system('x64\Debug\filename.exe');
system('x64\Release\filename.exe');
The first line runs the exe file compiled in Debug mode, and it runs successfully. However, the second line, which runs the exe file compiled in Release mode, does not work. It doesn't cause any error, simply nothing happens. I confirmed that both exe files work well on Visual Studio. So I am wondering why Matlab cannot run the exe file compiled in Release mode.
I appreciate your help. Thank you.
0 Comments
Answers (0)
See Also
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!