Products & Services Solutions Academia Support User Community Company

Learn more about Parallel Computing Toolbox   

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

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

  


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