フィルターのクリア

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 Center および File ExchangeCell Arrays についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by