add element in table
古いコメントを表示
ff(:,1)
ans =
table
Name
____
TEST
%%*****************************************
d1(:,1)
ans =
table
Name
________
"TEST_1"
ff(end+1,:)=d1
Error using ()
Unable to perform assignment for table variable 'Name' because its size on the left side is 1-by-4 and the size
of the corresponding variable on the right side is 1-by-1.
i don't understand this error...size name in ff and d1 is the same
K>> size(ff(:,1))
ans =
1 1
K>> size(d1(:,1))
ans =
1 1
採用された回答
その他の回答 (1 件)
Fangjun Jiang
2024 年 3 月 1 日
0 投票
You should check size(ff(end,:)). I assume it has 4 columns.
カテゴリ
ヘルプ センター および File Exchange で Tables についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!