title: Matlab: How can I put more than 2 strings of different length into one char element?
body: <p>I would like to program a loop over a number of strings of different length. My problem is that I don't get my various strings stored in one element. I've tried the following:</p>
  
  <pre><code>string=['string1';'longerstring2']
  </code></pre>