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 andtrue
will be returned. Otherwisefalse
will be returned and no other action will be taken.Parameters: - receiverID –
- port –
Throws: - RemoteException –
Returns: if connection was established