这是吗?
> > str2num (“南”)
ans =
南
或
data ={2、5、南6}
cell2mat(数据)
#
data =
1×4单元数组
{[2]} {[5]} {[NaN]} {[6]}
ans =
2 5 NaN 6
更多:
什么是NaN (Matlab)?