Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How to run an external application on a different computer from MATLAB
Date: Thu, 19 Jun 2008 14:49:02 +0000 (UTC)
Organization: University of Virginia
Lines: 35
Message-ID: <g3drku$kgs$1@fred.mathworks.com>
References: <g393l6$mg0$1@fred.mathworks.com> <g3aufl$l7g$1@fred.mathworks.com> <g3cicv$mb5$1@fred.mathworks.com> <g3d6k9$4i0$1@fred.mathworks.com> <g3dnoo$1qd$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1213886942 21020 172.30.248.35 (19 Jun 2008 14:49:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 19 Jun 2008 14:49:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1331686
Xref: news.mathworks.com comp.soft-sys.matlab:474737




> My guess is that the OP's objective function uses SYSTEM
or ! to invoke the 
> external application and retrieve the output from that
application.  If 
> that's the case, the OP could modify their objective
function using the demo 
> to which I linked as a guide to use SYSTEM on each of the
workers, running 
> the external application on each, and returning the
results back to their 
> main MATLAB session; alternately, I don't know of any
inherent reason the 
> UseParallel option shouldn't work with an objective
function that calls 
> SYSTEM.
> 
> -- 
> Steve Lord
> slord@mathworks.com 

Steve 

I use the dos() command  to call the external application.
The external application then generates an output file with
the evaluated objective function. So I guess you are
probably right. I downloaded psexec and it seems that I can
use that. I am yet to try it for the remote machine. But I
will also look into what you are suggesting.

Thanks
Hema
> 
>