How to clear this error?

1 回表示 (過去 30 日間)
PLACEIUS NISHIGA G
PLACEIUS NISHIGA G 2018 年 2 月 14 日
回答済み: Walter Roberson 2018 年 2 月 14 日
Cell contents assignment to a non-cell array object.
Error in fincode (line 237)
D{i}=[U,zeros(1,vg)];

回答 (1 件)

Walter Roberson
Walter Roberson 2018 年 2 月 14 日
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);"

カテゴリ

Help Center および File ExchangeWhos についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by