To convert a cell array of character vectors to a character array, we use the char function.
A = {'line'}
B = char(A)
We could also extract the contents from a cell, index using curly braces.
A = {'line'}
B = A{1}
Finally, to convert a cell array to a string array, we use the string function.
A = {'line'}
B = string(A)