Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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 a running parallel pool,

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

Introduced in R2009b

Was this topic helpful?