Why does the output of my FORTRAN script not show up in the MATLAB command window when I execute it using the SYSTEM function in MATLAB 7.14 (R2012a)?
Show older comments
I am running MATLAB 7.14 (R2012a) and interfacing with an external FORTRAN script on a Macintosh. The code was compiled on my local box with GFORTRAN. I can successfully run the script with the bang (!), UNIX, or SYSTEM function.
The issue is that the code periodically outputs text and I want that information echoed back to the command window. I try the '-echo' option with the SYSTEM function and the command window in MATLAB does not display the output.
The issue does not exist with MATLAB 7.11 (R2010b). When I run the exact same code through MATLAB 7.11 (R2010b), all of the desired text is displayed to the command window.
Accepted Answer
More Answers (0)
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!