MATLAB: How to split letters in a word into an array

MATLABstring

Ex: In the word 'HELLO', extract the letters 'H' 'E' 'L' 'L' 'O'

Best Answer

The string 'Hello' consists of single characters already:
str = 'Hello';
for k = 1:length(str)
disp(str(k))
end
So please explain the wanted type and dimensions of the output. 'H' 'E' 'L' 'L' 'O' is not clear enough.
Related Question