I am trying to write an array to a .dat file which in turn is being as an input file for a certain executable file. I would like matlab to be able to run the .exe file along with the input files and return the output from the executable.
2 ビュー (過去 30 日間)
古いコメントを表示
Is there a way the above can be achieved?
0 件のコメント
回答 (1 件)
Robert
2016 年 3 月 29 日
I think you are looking for the system command. Use it to call your executable as though you were calling it from the command line and use the second output to capture the command window output of the executable.
doc system
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Get Started with MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!