Hello folks,
I have an executable file (generated from a FORTRAN code) that I need to run from matlab. Upon execution, it asks for the path of the input file (C:\...Myprograms\sample.dat) and I have to enter it manually but I want to do this programmatically, i.e., I want matlab to get the input automatically and run the exe. I presume the function: system (C:\...Myprograms\myexecutable.exe) is supposed to do the job but for some reason it fails. Can anybody help me please? I'd be very grateful.
I have an executable file (generated from a FORTRAN code) that I need to run from matlab. Upon execution, it asks for the path of the input file (C:\...Myprograms\sample.dat) and I have to enter it manually but I want to do this programmatically, i.e., I want matlab to get the input automatically and run the exe. I presume the function: system (C:\...Myprograms\myexecutable.exe) is supposed to do the job but for some reason it fails. Can anybody help me please? I'd be very grateful.