title: Convert MATLAB char array to string
body: <p>Starting with the MATLAB char array, A:</p>
  
  <pre><code>A(1,1) = 'A'
  A(1,2) = 'P'
  A(1,3) = 'R'
  A(2,1) = 'M'
  A(2,2) = 'A'
  A(2,3) = 'Y'
  </code></pre>
  
  <p>How can this be converted to a cell of strings, B, such that:</p>
  
  <pre><code>B{1} = 'APR'
  B{2} = 'MAY'
  </code></pre>
  
  <p>Edit:
  A is a cell and using the function cellstr gives the error</p>
  
  <pre><code>Error using cellstr (line 23)
  S must be 2-D. 
  </code></pre>