title: How to suppress "ans" line from MATLAB output?
body: <blockquote>
    <p><strong>EDIT</strong>: The question above concerns <em>strictly</em> to the output that MATLAB
    produces by default <strong><em>in an interactive session</em></strong>, as illustrated by
    the given example.  I have <strong><em>no interest</em></strong> in ways to modify the
    appearance of the output produced by scripts, functions, methods, etc.</p>
  </blockquote>
  
  <p>Also, the motivation for this is to keep more of my laptop's <em>extremely</em> scarce "screen real estate" for <em>actually informative output</em>.</p>
  
  <hr>
  
  <p>Even with <code>format compact</code>, MATLAB's output includes an <code>ans =</code> line in addition to the line(s) that show the output proper.  E.g.</p>
  
  <pre><code>&gt;&gt; format compact
  &gt;&gt; date
  ans =
  04-Sep-2012
  &gt;&gt; 
  </code></pre>
  
  <p>Is there any way to suppress the <code>ans =</code> line, so that, e.g., the last interaction above looks like this?:</p>
  
  <pre><code>&gt;&gt; date
  04-Sep-2012
  &gt;&gt; 
  </code></pre>
  
  <p>...or at least like this?:</p>
  
  <pre><code>&gt;&gt; date
  ans = 04-Sep-2012
  &gt;&gt; 
  </code></pre>