title: How to execute multiple statements in a MATLAB anonymous function?
body: <p>I'd like to do something like this:</p>
  
  <pre><code>&gt;&gt; foo = @() functionCall1() functionCall2()
  </code></pre>
  
  <p>So that when I said:</p>
  
  <pre><code>&gt;&gt; foo()
  </code></pre>
  
  <p>It would execute <code>functionCall1()</code> and then execute <code>functionCall2()</code>.  (I feel that I need something like the <a href="http://www.eskimo.com/~scs/cclass/int/sx4db.html" rel="noreferrer">C , operator</a>)</p>
  
  <p>EDIT:</p>
  
  <p><code>functionCall1</code> and <code>functionCall2</code> are not necessarily functions that return values.</p>