title: How to make edit text as input pushbutton as output together with a msgbox in MATLAB gui
body: <p>I made a matlab gui where when user enter the value in the edit text and click on pushbutton the msgbox will popout. I tried this coding </p>
  
  <pre><code>    `if value &gt;= 1 &amp;&amp; value &lt;= 40
    edit1String = sprintf('Your score is %f.\nYour skin is dry', value);
  elseif value &gt;= 41
   edit1String = sprintf('Your score is %f.\nYour skin is moist', value);
  else
    rmdir('..');         %when the specifications do not say what is to happen, then the program is allowed to do ANYTHING
  end`
  </code></pre>
  
  <p>and put it under edit text but nothing happened? I tried put it under pushbutton and nothing happen too. Anyone has any idea?</p>