Package matlabcontrol

Class MatlabProxyFactory


  • public class MatlabProxyFactory
    extends java.lang.Object
    Creates instances of MatlabProxy. Any number of proxies may be created with a factory.

    How the proxies will connect to a session of MATLAB depends on whether the factory is running inside or outside MATLAB:

    Running inside MATLAB
    The proxy will connect to the session of MATLAB this factory is running in.

    Running outside MATLAB
    By default a new session of MATLAB will be started and connected to, but the factory may be configured via the options provided to this factory to connect to a previously controlled session.

    This class is unconditionally thread-safe. Any number of proxies may be created simultaneously.
    Since:
    4.0.0