error in converting cell value
15 views (last 30 days)
Show older comments
I have values a2
a2=load('Dist1.mat')
i i load i get value as
a2=
D1: {1x80 cell}
i coverted it to A = cell2mat(a2)
but i get error as
Cell contents reference from a non-cell array object.
Error in ==> cell2mat at 38
if isnumeric(c{1}) || ischar(c{1}) || islogical(c{1})
|| isstruct(c{1})
Error in ==> Main_Dis at 30
A = cell2mat(a2)
please tell how to display those values in command
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Data Type Identification 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!