Subscripted assignment dimension mismatch for table variable 'A'.

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

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개)

카테고리

도움말 센터File Exchange에서 Tables에 대해 자세히 알아보기

태그

질문:

2019년 9월 7일

댓글:

2019년 9월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by