안돼는데요. 이렇게 나오는데요.
>> a.name(1) = 'hiru'
??? In an assignment A(:) = B, the number of elements in A and B
must be the same.
그리고 참고로..
>> a.name(1,:) = 'hiru'
a =
name: 'hiru'
>> a.name(2,:) = 'hiru1'
??? Subscripted assignment dimension mismatch.
>> a.name(2,:) = 'hire'
a =
name: [2x4 char]
요렇네요. 저장하는 글자길이가 같으면 되는데 달라지면 안돼요.
도와주삼..