Designing the MATLAB GUI application

MATLAB provides easy ways to design a GUI. Here is one popular method to create a GUI using GUI development environment (GUIDE) (https://in.mathworks.com/discovery/matlab-gui.html). To start GUIDE in MATLAB, just type guide in your MATLAB command line:

Figure 15: MATLAB GUI wizard

You can select a Blank GUI and press OK. You will get a blank GUI, and you can add buttons and text boxes according to your requirements. The following figure shows the basic GUI elements in GUIDE. You can see an empty GUI form and toolbox. We can just drag components from the toolbox to the form. For example, if we need a push ...

Get ROS Programming: Building Powerful Robots now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.