Launching the GUI

  1. There are two ways to launch your GUI.

    • The first way is through the GUIDE editor. Simply press the Guide Play Button icon on the GUIDE editor as shown in the figure below:
      Guide Editor

    • The second method is to launch the GUI from the MATLAB command prompt. First, set the MATLAB current directory to wherever you saved your .fig and .m file.
      MATLAB Current Directory

      Next, type in the name of the GUI at the command prompt (you don’t need to type the .fig or .m extension):
      Launching GUI from Command Prompt

  2. The GUI should start running immediately:
    Launching GUI from Command Prompt

    Try to input some numbers to test out the GUI. Congratulations on creating your first GUI!

This is the end of the tutorial.

Pages: 1 2 3 4 5