Products & Services Solutions Academia Support User Community Company

Learn more about Parallel Computing Toolbox   

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 Array Types.

Examples

With an open MATLAB pool,

L = ones(100, 1);
D = distributed.ones(100, 1);
isdistributed(L) % returns false
isdistributed(D) % returns true

See Also

iscodistributed

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS