MatlabSession¶
-
interface
MatlabSessionextends 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
JMIWrapperRemoteto the receiver andtruewill be returned. Otherwisefalsewill be returned and no other action will be taken.Parameters: - receiverID –
- port –
Throws: - RemoteException –
Returns: if connection was established