Create a GUI with GUIDE - Can You Edit the Output?

  • Context: MATLAB 
  • Thread starter Thread starter ranger
  • Start date Start date
  • Tags Tags
    Edit Gui Output
Click For Summary
SUMMARY

The discussion centers on editing GUI interfaces created with MATLAB's GUIDE tool. Users can utilize the command guide(gcf); to edit the currently open GUI figure. Additionally, if a GUI is saved as a .fig file, it can be specifically edited using guide(foo);, where "foo" is the name of the .fig file. This allows for customization of downloaded GUI interfaces to better suit individual needs.

PREREQUISITES
  • Familiarity with MATLAB programming environment
  • Understanding of GUIDE tool for GUI creation
  • Basic knowledge of .fig file format in MATLAB
  • Experience with command line operations in MATLAB
NEXT STEPS
  • Explore advanced features of MATLAB GUIDE for enhanced GUI design
  • Learn about converting GUIDE GUIs to App Designer in MATLAB R2019a and later
  • Investigate best practices for GUI usability and design principles
  • Study MATLAB's documentation on figure properties and callbacks
USEFUL FOR

This discussion is beneficial for MATLAB developers, GUI designers, and anyone looking to customize or enhance existing MATLAB GUIs for specific applications.

ranger
Gold Member
Messages
1,687
Reaction score
2
Whenever we use GUIDE to create a GUI, GUIDE generates an m-file. Now,
is it possible for one to use this m-file generated by GUIDE to re-edit the GUI? I mean say I downloaded an m-file from the internet which has a GUI interface. Can I use GUIDE to edit the m-file and "tweak" the interface to my needs?

--thanks.
 
Physics news on Phys.org
I figured it out. If anyone cares, the command is guide(gcf); Where gcf means get current figure. Of course the figure you wish to edit should obviously be open when you run that command.
 
If the gui is saved as foo.fig -- you can edit it specifically using guide(foo)
 
Last edited:

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
7K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 4 ·
Replies
4
Views
18K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 6 ·
Replies
6
Views
23K
  • · Replies 1 ·
Replies
1
Views
4K