Error message when generating table from workspace variables
Show older comments
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!!
Accepted Answer
More Answers (1)
Isabel Chen
on 1 Feb 2015
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!