True for distributed array
tf = isdistributed(X)
tf = isdistributed(X)
returns true
for
a distributed array, or false
otherwise. For a
description of a distributed array, see Nondistributed Versus Distributed Arrays.
With a running parallel pool,
L = ones(100,1); D = ones(100,1,'distributed'); isdistributed(L) % returns false isdistributed(D) % returns true