| MATLAB Central > MATLAB Newsreader > How to run .exe file from matlab |
|
|
|
I got a .exe file complied by Fortran. I have to run it thousands of times, each time with different input arguments (which I have to enter manually). I want to do this in matlab automatically. How to call an executable in matlab? How to include the input arguments (for the Fortran exe file) from matlab? I know it is very simple in IDL, since someone just showed me. But I would like to do this in matlab. |
|
"Zhang" |
|
This does not solve my problem. When the executable file runs, it needs input data and parameters (which I have to enter manually in matlab command window now). I want this to be done automatically, for example, making 'system' or 'unix' take some input arguments. How to do that? I cannot find any help from matlab help files. Thanks. |
|
Subject: How to run .exe file from matlab From: Walter Roberson Date: 22 Dec, 2008 17:11:22 Message: 4 of 11 |
|
Zhang wrote: |
|
This works for me! Thank you very much, Walter. |
|
Subject: How to run .exe file from matlab From: Thanh Chung Date: 19 Dec, 2009 15:52:03 Message: 6 of 11 |
|
There is a simple way to solve this issue: |
|
Subject: How to run .exe file from matlab From: Ali Culp Date: 10 May, 2010 17:45:14 Message: 7 of 11 |
|
I'm trying to do a really similar thing and am still having trouble! |
|
Subject: How to run .exe file from matlab From: Walter Roberson Date: 10 May, 2010 19:05:38 Message: 8 of 11 |
|
Ali Culp wrote: |
|
Subject: How to run .exe file from matlab From: Rops ropss Date: 25 May, 2010 13:55:08 Message: 9 of 11 |
|
What if I already have a file with a specified format(.dat in my case), that the executable needs to run? How to do this then? |
|
Subject: How to run .exe file from matlab From: Walter Roberson Date: 25 May, 2010 14:33:53 Message: 10 of 11 |
|
Rops ropss wrote: |
|
Subject: How to run .exe file from matlab From: Rops ropss Date: 26 May, 2010 13:46:05 Message: 11 of 11 |
|
Thanks a lot..... |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
| Tag Activity for This Thread | ||
|---|---|---|
| Tag | Applied By | Date/Time |
| exe | Nikos Makris | 1 Nov, 2011 05:34:31 |
| executable syst... | Zhang | 22 Dec, 2008 11:20:20 |
| reference | us | 20 Dec, 2008 00:50:05 |
| system | us | 20 Dec, 2008 00:50:05 |
| unix | us | 20 Dec, 2008 00:50:05 |
| executable | Zhang | 20 Dec, 2008 00:35:04 |
Contact us at files@mathworks.com
