Run m-script from outside a Matlab window
by Lars Christiansen
24 Apr 2009
Calls a m-script from a "dos box" without starting the Matlab GUI. Use Matlab's C-compiler.
|
Watch this File
|
| File Information |
| Description |
Ever needed to call an m-script from the command prompt ("dos box")? This C-code allows you to do just that in a simple way. Just call the exe-file you get from compiling it, and it will run the m-code you want. See guide on how to compile and use it in the comment within the code.
Example: I run a calibration software (PEST) written in FORTRAN. It controls all model calls and intermediate calculations. One of the models involved is in FORTRAN, the other in Matlab. With runMscript.exe I simply list my models one by one in a .bat file and am able to work from the command prompt, as PEST was written for. |
| MATLAB release |
MATLAB 7.6 (R2008a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
|
Contact us at files@mathworks.com