title: Get waitbar value in Matlab
body: <p>How could I get the value of a waitbar in Matlab? That is, to know if 50% filled, 75%, and so on. I guess it could be done using the handle (h) returned when the progress bar is created:</p>
  
  <pre><code>&gt; h = waitbar(0,'Please Wait');
  </code></pre>
  
  <p>I guess this is a pretty simple question, however, I have been trying for I while without solving it. Thanks</p>