MatlabSessionImpl

class MatlabSessionImpl implements MatlabSession

Implementation of MatlabSession. Split into interface and implementation to work properly with RMI.

Author:Joshua Kaplan

Methods

connectFromRMI

public synchronized boolean connectFromRMI(String receiverID, int port)

connectToRunningSession

static boolean connectToRunningSession(String receiverID, int port)

Attempts to connect to a running instance of MATLAB. Returns true if a connection was made, false otherwise.

Parameters:
  • receiverID
  • port
Returns:

if connection was made

getSessionID

String getSessionID()

The unique identifier for this session.