The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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 ]

Posts: 9,850
Registered: 6/7/07
Re: How to run exe. file from matlab without mannually entering the

Posted: Jul 11, 2013 9:13 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 7/11/2013 6:56 PM, Mehdi wrote:

> Thank you Steve! I never knew anything about control files, redirection
> operators etc. My windows is 7. I tried all the options (<, >,<<, >>,
> <&, >&,|) but still it doesn't work. I'm really frustrated. I'm using:
> system('C:/myfolder/myprogram.exe < C:/myfolder/for005.dat');
> So what am I missing here? Thank you again. Mehdi

For what precise definition of "doesn't work?" That's useless as
diagnostic information -- need to know what errors occur, etc.

First, execute the command at the command line directly until you get it
to work; _then_ you can work on getting the system call working.


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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.