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
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 CenterFile Exchange 中查找有关 Tables 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by