Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Matlab GUIDE

  1. Mar 12, 2007 #1


    User Avatar
    Gold Member

    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?

  2. jcsd
  3. Mar 19, 2007 #2


    User Avatar
    Gold Member

    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.
  4. Mar 20, 2007 #3


    User Avatar

    If the gui is saved as foo.fig -- you can edit it specifically using guide(foo)
    Last edited: Mar 20, 2007
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook