dewalla
dewalla

Reputation: 1327

Creating a GUI in MATLAB using guide is not updating the m-file?

I am trying to create a GUI. I try and add 3 radio buttons to the GUI and when I hit save the m-file doesn't change...

I can add other entities and the m-file is edited and changed like normal.

Am I missing something?

Upvotes: 3

Views: 1868

Answers (2)

dewalla
dewalla

Reputation: 1327

If you delete a function that GUIDE creates it wont automatically add it back for you. You need to use the INSPECTOR tool in GUIDE and click the box next to the function to make GUIDE add the function back into your m-file.

Thanks

Upvotes: 3

Nzbuu
Nzbuu

Reputation: 5251

GUIDE stores the GUI between a FIG-file with the figure data and an M-file with the callback functions. You may need to add some callbacks for the radio buttons before it will modify the M-file.

Upvotes: 2

Related Questions