title: matlab char array to cell array
body: <p>say I have an array of chars which looks like....</p>
  
  <pre><code>   hello
     hillo
     hello
  </code></pre>
  
  <p>and I would like to convert them to a cell array which would be the same as...</p>
  
  <pre><code>     A = {'hello';'hillo';'hello'}
  </code></pre>
  
  <p>how would I go about doing this, I've tried using mat2cell but it appears to just put everything into one large cell and doesn't really split them up.. So say for example with the original array of chars it would output like this if i put</p>
  
  <pre><code>     A = mat2cell(arrayofchars)
  
       [3x5 char]
  
      instead of the preferred output of...
  
       'hello'
       'hillo'
       'hello'
  </code></pre>
  
  <p>Sorry if I haven't explained my problem very well! Im quite new to matlab! </p>
  
  <p>Cheers!</p>