|
楼主 |
发表于 2010-4-26 20:05
|
显示全部楼层
回复 板凳 ChaChing 的帖子
明白了,谢谢chaching大哥,确实是空格惹得祸。char有这么一句
S = char(t1, t2, t3, ...) forms the character array S containing the text strings T1, T2, T3, ... as rows, automatically padding each string with blanks to form a valid matrix. Each text parameter, Ti, can itself be a character array. This allows the creation of arbitrarily large character arrays. Empty strings are significant.
自己没好好读,看了您的话,确实有较深的感触,help一定要好好读
[ 本帖最后由 ChaChing 于 2010-4-26 20:34 编辑 ] |
评分
-
1
查看全部评分
-
|