MatlabSession

interface MatlabSession extends Remote

An implementation of this interface is bound to a RMI registry, representing this session of MATLAB.

Author:Joshua Kaplan

Methods

connectFromRMI

public boolean connectFromRMI(String receiverID, int port)

Attempts a connection to this session of MATLAB. If this session is available for connection it will send a JMIWrapperRemote to the receiver and true will be returned. Otherwise false will be returned and no other action will be taken.

Parameters:
  • receiverID
  • port
Throws:
  • RemoteException
Returns:

if connection was established