Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: How to run exe. file from matlab without mannually entering the input
Replies: 15   Last Post: Mar 12, 2014 12:30 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Mehdi

Posts: 14
Registered: 6/1/13
How to run exe. file from matlab without mannually entering the input
Posted: Jun 1, 2013 4:13 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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.




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.