[esp-r] Re: How to execute ESP-r in MATLAB m file ??

Liam O'Brien obrien_liam at hotmail.com
Sat Dec 6 19:01:42 GMT 2008


Try using this command in your m-file:

dos(['bps -file c:\esru\models\model_name\cfg\config_name.cfg -mode text -p std silent']);

The "sdt" refers to the results set definitions (e.g. time-step length, date range, etc.).  I would set this up in the GUI version of RES before running it from MATLAB.  

>From my experience, if this doesn't work, it's more likely a bug in your model than anything else.  Note that using the native Windows version doesn't let you get XML/CSV outputs, meaning that you're pretty much forced to extract data from the .res file manually, as far as I know.

Liam O'Brien



Date: Thu, 4 Dec 2008 15:06:38 +0900
From: yeoni0712 at gmail.com
To: esp-r at strath.ac.uk
Subject: [esp-r]  How to execute ESP-r in MATLAB m file ??

Hi everyone,
 
I was wondering whether somebody has used matlab scripts in the past to perform ESP-r tasks  in native Windows (not in Cygwin). 
After I write the m file that geneate input file, How can I execute ESP-r in MATLAB window? 
Any advice and help on this will be much appreciated.
 
_________________________________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.strath.ac.uk/archives/esp-r/attachments/20081206/da71b4a9/attachment.html 


More information about the esp-r mailing list