필터 지우기
필터 지우기

Hie there, how do i remove this error "Matrix indices must be full double. Error in SignLive (line 19) subsetLabels{ii} = repelem{{s​ubset(ii).​Descriptio​n},subset(​ii).Count,​1};"

조회 수: 1 (최근 30일)
repelem = {};
for ii = 1:numel(subset)
subsetLabels{ii} = repelem{{subset(ii).Description},subset(ii).Count,1};
end
subsetLabels = vertcat(subsetLabels{:});
togglefig('Sample Images',1)

채택된 답변

madhan ravi
madhan ravi 2020년 6월 16일
{} -> ()
  댓글 수: 2
Talent Mukaro
Talent Mukaro 2020년 6월 16일
Madhan are you implying that i have to replace all {} by () or im lost?
Talent Mukaro
Talent Mukaro 2020년 6월 16일
Hey, i did what you said, see the new error bellow;
Index exceeds matrix dimensions.
Error in SignLive (line 19)
subsetLabels{ii} = repelem((subset(ii).Description),subset(ii).Count,1);

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Cell Arrays에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by