title: return multiple output variables from Matlab function
body: <p>Lets say I have a function:</p>
  
  <pre><code>function [ A, B, C ] = test(x, y, z)
      A=2*x;
      B=2*y;
      C=2*z;
  end
  </code></pre>
  
  <p>When you press run, Matlab returns only the first value from the output arguments - <code>[A]</code> in this case. Is there a command that I can put inside my function that automatically returns all the function output arguments <code>[A,B,C]</code> instead of just the first argument. 
  I know I can type in my command windows <code>[ A, B, C ] = test(x, y, z)</code> and get all the values, but I am lazy sometimes, and would just like to press Run and get automatically all the values.</p>