runing an exe file with respectly inputs
Show older comments
i am running an external .exe file by matlab, but for giving the inputs to this exe file,i should enter the inputs accordingly: first input(for example:120),then press enter, the second input(for example:7120),then press enter ,.... after finishing I will get the output from exe file is there any solution do produce a code to do automatically by matlab specially for introducing inputs?
1 Comment
Narges M
on 23 Jul 2013
call it from the commandline and write the input values right after the exe filename.
Answers (2)
HAMID
on 23 Jul 2013
Edited: Azzi Abdelmalek
on 23 Jul 2013
Azzi Abdelmalek
on 23 Jul 2013
Edited: Azzi Abdelmalek
on 23 Jul 2013
You have to use other then Matlab interface to display or introduce data, for example inputdlg function
a=inputdlg('enter a')
see also
msgbox
listdlg
Categories
Find more on Text Files 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!