MATLAB Answers

0

Convert Composite to array?

Erik S. 님이 질문을 제출함. 28 Mar 2015
최근 활동 Edric Ellis 님이 답변함. 30 Mar 2015
Is it possible to convert a Composite object created with spmd to an array?

  댓글 수: 0

로그인 to comment.

답변 수: 1

Edric Ellis 님의 답변 30 Mar 2015
 채택된 답변

Yes, you can use Composite indexing (which behaves pretty much like cell array indexing), like this:
spmd
x = labindex;
end
xlocal = [x{:}]

  댓글 수: 0

로그인 to comment.



Translated by