Why does table creation produce error "VariableNames property must contain one name for each variable in the table"?
Mostra commenti meno recenti
Can you please revise the following line of code to eliminate the error "VariableNames property must contain one name for each variable in the table"? I am stumped.
T = table(rand(30,8), 'VariableNames', ...
{'var1' 'var2' 'var3' 'var4' 'var5' 'var6' 'var7' 'var8'});
Risposta accettata
Più risposte (1)
Ivy Fatima
il 31 Gen 2024
0 voti
Error using array2table
The RowNames property must contain one name for each row in the table.
Categorie
Scopri di più su Tables in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!