MATLAB: Runing matlab’s engine when Matlab is installed on a different computer in the network

MATLABmatlab engine

Hi,
Is there any way to call Matlab's engine from C++ code that runs on a computer that does not have Matlab installed by using Matlab in a different computer in the network?
Thank you,
Gil.

Best Answer

Such a capability is documented as possible on Unix. Please see the engOpen Reference Page and look for how the startcmd string uses rsh on Unix. On Windows, the MATLAB Engine interface uses the COM interface, and I'm not sure if it's possible to invoke a COM Server over a network.