Cell contents assignment to a non-cell array object?
Mostrar comentarios más antiguos
Hi there,
I have written this piece of code to store all the combination into a array of matrices.
for i=1:4,
m = combnk(1:4,i)
tester{i} = repmat(m,1)
end
When I tested it separately, it works fine. But when I combined it with other code in my project, the matlab gave me warning regarding tester{i} = repmat(m,1): Cell contents assignment to a non-cell array object
Anybody can enlighten me on this issue? Thanks a million in advance!
2 comentarios
Adam
el 7 de Mzo. de 2015
Is tester pre-declared or is it just created and resized in the loop?
jessica xiang
el 7 de Mzo. de 2015
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Coordinate Reference Systems en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!