User`s guide
10 Objects — Alphabetical List
10-10
distributed
Access elements of distributed arrays from client
Constructor
distributed
You can also create a distributed array explicitly from the client with any of several
overloaded MATLAB functions.
eye(___,'distributed') rand(___,'distributed')
false(___,'distributed') randi(___,'distributed')
Inf(___,'distributed') randn(___,'distributed')
NaN(___,'distributed') distributed.cell
ones(___,'distributed') distributed.spalloc
true(___,'distributed') distributed.speye
zeros(___,'distributed') distributed.sprand
distributed.sprandn
Description
Distributed arrays represent those arrays which are partitioned out among the workers
in a parallel pool. A distributed array resembles a normal MATLAB array in the way you
index and manipulate its elements, but none of its elements exists on the client.
Codistributed arrays that you create inside spmd statements are accessible as distributed
arrays from the client.
Use the gather function to retrieve distributed arrays into the client work space.