Path: news.mathworks.com!newsfeed-00.mathworks.com!NNTP.WPI.EDU!elk.ncren.net!newsflash.concordia.ca!canopus.cc.umanitoba.ca!not-for-mail
From: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)
Newsgroups: comp.soft-sys.matlab
Subject: Re: Matlab Engine on another computer
Date: Fri, 30 May 2008 16:52:02 +0000 (UTC)
Organization: National Research Council Canada - Conseil national de rechereches Canada
Lines: 25
Message-ID: <g1pbbi$mjt$1@canopus.cc.umanitoba.ca>
References: <707bd891-8a0f-44ae-86a6-6b9148c1f7bd@m3g2000hsc.googlegroups.com> <g1p9jq$k2q$1@canopus.cc.umanitoba.ca> <861b4aa1-52bd-41d2-93d9-ce5516a9f4d5@y21g2000hsf.googlegroups.com>
NNTP-Posting-Host: origin.ibd.nrc.ca
X-Trace: canopus.cc.umanitoba.ca 1212166322 23165 192.70.172.160 (30 May 2008 16:52:02 GMT)
X-Complaints-To: abuse@cc.umanitoba.ca
NNTP-Posting-Date: Fri, 30 May 2008 16:52:02 +0000 (UTC)
Originator: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)
Xref: news.mathworks.com comp.soft-sys.matlab:471430



In article <861b4aa1-52bd-41d2-93d9-ce5516a9f4d5@y21g2000hsf.googlegroups.com>,
 <badluck066@gmail.com> wrote:
>Ok, so it won't work if i compile it directly from the visual studio,

Nope. If you were using Unix you could use engOpen() passing in the
hostname of the system that had Matlab. However, you are using Windows XP
and on MS Windows the startcmd argument must be NULL.

  On Windows systems, engOpen opens a COM channel to MATLAB. This
  starts the MATLAB software that was registered during installation.
  If you did not register during installation, on the command line you
  can enter the command:

  matlab /regserver


*Possibly* you would be able to register a remote matlab as a
"Remote Out-of Process Server" -- the documentation indicates that in
general Matlab supports such servers through COM objects, but I don't
know enough about the technology or how Matlab uses it to know whether
a you can link to a remote Matlab that way.

-- 
  "Walter is undoubtedly the country's and club's most popular player."
                                              -- vitalfootball.co.uk