Borrar filtros
Borrar filtros

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 visualización (últimos 30 días)
repelem = {};
for ii = 1:numel(subset)
subsetLabels{ii} = repelem{{subset(ii).Description},subset(ii).Count,1};
end
subsetLabels = vertcat(subsetLabels{:});
togglefig('Sample Images',1)

Respuesta aceptada

madhan ravi
madhan ravi el 16 de Jun. de 2020
{} -> ()
  2 comentarios
Talent Mukaro
Talent Mukaro el 16 de Jun. de 2020
Madhan are you implying that i have to replace all {} by () or im lost?
Talent Mukaro
Talent Mukaro el 16 de Jun. de 2020
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);

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Cell Arrays en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by