How to run executable file (.exe) with input information using MATLAB

22 次查看(过去 30 天)
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
Stephen23 2018-8-7
  2 个评论
joo tan
joo tan 2018-8-7
编辑:joo tan 2018-8-7
i am sorry sir. I have try to view the link and try to understand. i am not expert in MATLAB. can you suggest any simple command which i can use for my script? Thanks
Stephen23
Stephen23 2018-8-7
编辑:Stephen23 2018-8-7
system('someCommand inputOne inputTwo')
You could generate the character vector using concatenation or sprintf.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Software Development Tools 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by