Creating a GUI in MATLAB using guide is not updating the m-file?
-
14-04-2021 - |
Domanda
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?
Soluzione
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
Altri suggerimenti
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.
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow