User`s guide
10 Objects — Alphabetical List
10-42
Methods
Method Name Description
connect connect(r,clusterHost) establishes a connection to the
specified host using the user credential options supplied in the
constructor. File mirroring is not supported.
connect(r,clusterHost,remoteDataLocation)
establishes a connection to the specified host using the
user credential options supplied in the constructor.
remoteDataLocation identifies a folder on the
clusterHost that is used for file mirroring. The user
credentials supplied in the constructor must have write access
to this folder.
disconnect disconnect(r) disconnects the existing remote connection.
The connect method must have already been called.
doLastMirrorForJob doLastMirrorForJob(r,job) performs a final copy of
changed files from the remote DataLocation to the local
DataLocation for the supplied job. Any running mirrors
for the job also stop and the job files are removed from
the remote DataLocation. The startMirrorForJob or
resumeMirrorForJob method must have already been
called.
getRemoteJobLocation getRemoteJobLocation(r,jobID,remoteOS) returns the
full path to the remote job location for the supplied jobID.
Valid values for remoteOS are 'pc' and 'unix'.
isJobUsingConnection isJobUsingConnection(r,jobID) returns true if the job
is currently being mirrored.
resumeMirrorForJob resumeMirrorForJob(r,job) resumes the mirroring
of files from the remote DataLocation to the local
DataLocation for the supplied job. This is similar to the
startMirrorForJob method, but does not first copy the files
from the local DataLocation to the remote DataLocation.
The connect method must have already been called. This is
useful if the original client MATLAB session has ended, and
you are accessing the same files from a new client session.