Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

isdistributed

True for distributed array

Syntax

tf = isdistributed(X)

Description

tf = isdistributed(X) returns true for a distributed array, or false otherwise. For a description of a distributed array, see Nondistributed Versus Distributed Arrays.

Examples

With a running parallel pool,

L = ones(100,1);
D = ones(100,1,'distributed');
isdistributed(L) % returns false
isdistributed(D) % returns true
Was this topic helpful?