Convert coordinate trace into cell array of strings.
c=cellstr(t)
When applied to an imat_ctrace object, the CELLSTR function converts a coordinate trace t into a cell array of strings with one string entry per coordinate. A cell array of this type can be converted back into a coordinate trace by passing it to the imat_ctrace function.
>> t=imat_ctrace('5y', '6rx', '3z', '4x-')
t =
'5Y+'
'6RX+'
'3Z+'
'4X-'
>> c=cellstr(t)
c =
'5Y+'
'6RX+'
'3Z+'
'4X-'
>> whos
Name Size Bytes Class
c 4x1 394 cell array
t 4x1 284 imat_ctrace object
Grand total is 38 elements using 678 bytes
>> c{2}
ans =
6RX+
>>