title: Convert character array to string in MATLAB
body: <p>I've a M by N matrix, each cell contains a character array, that is an image path. How can I use it to read image? It should be string.</p>
  
  <p>It's what I try to do:</p>
  
  <pre><code>imread(fl(1,1));
  ??? Error using ==&gt; imread&gt;parse_inputs at 491
  The filename or url argument must be a string.
  
  Error in ==&gt; imread at 336
  [filename, fmt_s, extraArgs, msg] = parse_inputs(varargin{:});
  </code></pre>
  
  <p>And it's my matrix:
  <img src="https://i.stack.imgur.com/UQydV.png" alt="enter image description here"></p>