title: How to access memory information in Matlab on Unix - equivalent of user view.MaxPossibleArrayBytes
body: <p>I am looking for an equivalent of the data returned by memory on windows platform on unix, in matlab.</p>
  
  <p>I am aware of the possibility of using unix('vm_stat'), but the specific part of information I require is the largest contiguous free memory block.</p>
  
  <p>This information is returned by memory as follows:</p>
  
  <pre><code>[userview, ~] = memory;
  a = userview.MaxPossibleArrayBytes
  </code></pre>
  
  <p>Does anybody no how to write a unix command that could return this same information?</p>