error in converting cell value
15 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Type Identification 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!