>> a = 1234567 a = 1234567 >> b = str2num(num2str(a)')' b = 1 2 3 4 5 6 7 转载自:http://www.ilovematlab.cn/thread-89213-1-1.html