Error message when generating table from workspace variables
Afficher commentaires plus anciens
I tried to generate a table using the example provided in the documentation:
>> T = table(['M';'F';'M'],[45;32;34],...
{'NY';'CA';'MA'},logical([1;0;0]),...
'VariableNames',{'Gender' 'Age' 'State' 'Vote'})
Error using subsindex
Function 'subsindex' is not defined for values of class 'cell'.*
But got an error message! Please help!!
Réponse acceptée
Plus de réponses (1)
Isabel Chen
le 1 Fév 2015
Catégories
En savoir plus sur Logical dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!