How to gray out a panel in MATLAB GUI
<p>I created a <code>matlab</code> GUI for a robot arm testing. </p>

<p>Before program executes the program waits some configurations, like first panel for conf file input browse and result file browse setting, second panel for entering robots ip adres an so on.</p>

<p>I have 5 panel like this and i want to gray out panels and open them one by one after clicking next button.</p>

<p>I have tried:</p>

<pre><code>set(hObject,'Enable','off');
drawnow;
</code></pre>

<p>But these solutions does not work because ENABLE parameter is not suitable for panels (The name 'Enable' is not an accessible property for an instance of class 'uipanel'.). </p>

<p>I could not find any solution for panels. Do you have any suggestion? (Next panel will be shade off after clicking NEXT pushbutton at previous panel)</p>