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
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