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!