Matlab字符串分割

data = '1.21, 1.985, 1.955, 2.015, 1.885';
C = strsplit(data,', ')
C = 

    '1.21'    '1.985'    '1.955'    '2.015'    '1.885'
C{1} = 1.21
posted @ 2017-03-05 20:06  Shiyu_Huang  阅读(5316)  评论(0编辑  收藏  举报