How to clear this error?
Mostrar comentarios más antiguos
Cell contents assignment to a non-cell array object.
Error in fincode (line 237)
D{i}=[U,zeros(1,vg)];
Respuestas (1)
Walter Roberson
el 14 de Feb. de 2018
0 votos
You had previous initialized D to be something other than a cell array. If you are deliberately changing its use from numeric to cell array, then you should either "clear D" or else explicitly assign something like "D = cell(1,20);"
Categorías
Más información sobre Cell Arrays 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!