Subscripted assignment dimension mismatch for table variable 'A'.

1 vue (au cours des 30 derniers jours)
Seum Bin Rahman
Seum Bin Rahman le 7 Sep 2019
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 commentaire
Walter Roberson
Walter Roberson le 7 Sep 2019
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.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Tables dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by