Skip to Main Content Skip to Search
Product Documentation

iscodistributed - True for codistributed array

Syntax

tf = iscodistributed(X)

Description

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

Examples

With an open MATLAB pool,

spmd
    L = ones(100, 1);
    D = codistributed.ones(100, 1);
    iscodistributed(L) % returns false
    iscodistributed(D) % returns true
end

See Also

isdistributed

  


Free Parallel Computing Interactive Kit

See how to solve large problems with minimal effort and reduce simulation time.

Get free kit

Trials Available

Try the latest versions of parallel computing products.

Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS