MATLAB: Problem in convert cell to string.

cellstring

I have a cell show like this
% code
val =
title="
google
">
The value is 3*7 char. If I want to convert into string to be —> title="google"> What can I do? I have found many solution but can't help for this one. Thank you.

Best Answer

Possibly, this is what you want:
strjoin(cellstr(val), '')