Get worker object from current worker
Get Host Name of Worker
Host property to find the host name of
the current worker.
On a worker, use
getCurrentWorker to get the current worker
w = getCurrentWorker;
Then, use the
Host property to get the host name of the
host = w.Host;
w — Worker object
Worker object, specified as a
parallel.Worker or empty double. When
getCurrentWorker on a worker,
w is the
parallel.Worker object that the current worker is associated with.
When you use
getCurrentWorker on the client,
is an empty double.
Introduced before R2006a