R***U 发帖数: 1860 | 1 I have a cell array that contain strings in matlab.
[Quan, Vol] = textread('test.bat', '%s %d',-1,'delimiter',',');
How can I change the value in one cell??
I try yo use
Quan(i)='Group1';
It doesn't work?
Thanks, | g********i 发帖数: 207 | 2 you should use { } but not (). try this:
Quan{i} = 'Group1' |
|