How to run executable file (.exe) with input information using MATLAB
이전 댓글 표시
Hi everyone,
I want use system to run my executable file (add_grd.exe) with input information (file 1 ,file 2 and output file). Usually i use system to run without any input and automatically run.But for this .exe , i need to type the info.How i can do that? Here is the link for the data (1.grd , 2.grd) and exe file.
https://www.dropbox.com/sh/qyccx30i2nhzyze/AAACK65UTBK5KmHiLkO3biQ7a?dl=0
답변 (1개)
Stephen23
2018년 8월 7일
0 개 추천
Add the arguments to the character vector:
댓글 수: 2
system('someCommand inputOne inputTwo')
You could generate the character vector using concatenation or sprintf.
카테고리
도움말 센터 및 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!