How to RUN .exe file with Input file (example input.txt) in MATLAB
48 views (last 30 days)
Deeds on 9 Oct 2020
You can use the built in function system(command) to execute the given command in windows cmd (It also works in Linux). You may use system('"file.exe" argument1 argument2') where the file path of "input.txt" can be entered in the arguments. You may find more information regarding system in the MATLAB documentation.