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);"
How to clear this error?
1 次查看(过去 30 天)
显示 更早的评论
Cell contents assignment to a non-cell array object.
Error in fincode (line 237)
D{i}=[U,zeros(1,vg)];
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Whos 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!