Quantcast
Channel: MATLAB Central Newsreader Recent Posts
Viewing all articles
Browse latest Browse all 19628

How to run exe. file from matlab without mannually entering the input

$
0
0
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.
   

Viewing all articles
Browse latest Browse all 19628

Latest Images

Trending Articles



Latest Images