title: multiple different sized output function?
body: <p>I need to have MATLAB return multiple outputs of different sizes, i.e. one is n by m matrix, the other is a vector</p>
  
  <pre><code>function output = name(arg1,arg2,...,argn)
  
      blabla
  
      output = {A;B};
  
  end
  </code></pre>
  
  <p>when I type</p>
  
  <pre><code>{A;B}=name(arg1,arg2,...,argn)
  </code></pre>
  
  <p>I get this error</p>
  
  <blockquote>
    <p>Error: The expression to the left of the equals sign is
    not a valid target for an assignment.</p>
  </blockquote>
  
  <p>How do I obtain those multiple outputs? I don't want them printed; I need to use the outputs in further calculations.</p>