Subscripted assignment dimension mismatch for table variable 'A'.
1 回表示 (過去 30 日間)
古いコメントを表示
for j=1:1:P
A = raw(strcmp(data,reference),[2, 5, 6, 11:16]);
B=table2cell(A);
T(j,:)=table(B)
end
error: Subscripted assignment dimension mismatch for table variable 'A'.
1 件のコメント
Walter Roberson
2019 年 9 月 7 日
If the strcmp does not have exactly one true result then you get a mismatch on the number of rows of the table being assigned to.
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Tables についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!