Azzi showed you how to extract the string from a cell. Another way is to convert the cell with char():
ca={'line'}
str = char(ca)
Net, both give the same result, just different ways of getting there. If your cell array is only a single solitary cell, then you should not even use a cell in the first place - use a string.
0 Comments
Sign in to comment.