Error message when generating table from workspace variables
Mostrar comentarios más antiguos
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!!
Respuesta aceptada
Más respuestas (1)
Isabel Chen
el 1 de Feb. de 2015
Categorías
Más información sobre Logical en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!