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!