[Matlab] How to enable/disable a push button.

Discussion in 'Programmer's Corner' started by prionkor, Aug 31, 2009.

  1. prionkor

    Thread Starter New Member

    Jun 8, 2009
    7
    0
    How can i disable and enable a pushbutton. Say i have two push button PB1 and PB2. When the program runs first i want the PB2 to be disabled and when i pressed PB1 PB2 emabled. If you are not sure about how to do it please send only how to disable, enable a push button. thanks!
     
  2. ircommando

    New Member

    Jun 17, 2009
    3
    0
    I am new to MATLAB so I don't think that I can answer your question straight out, but here is a link to some gui/uicontrol tutorials that I have found very helpful. I started using MATLAB about two weeks ago , and with the guidance of these tutorials have been able to put together some programs that make my life(and the other HW testers in my lab) a lot easier. Here it is:

    http://blogs.mathworks.com/videos/2009/08/06/gui-tutorials-from-the-file-exchange/
     
  3. prionkor

    Thread Starter New Member

    Jun 8, 2009
    7
    0
    Thanks for your sharing..
     
Loading...