GUIDE Does Not Create/Edit Callbacks in Saved Figures

I'm fairly new to using GUIDE for GUI development, and am having an odd difficulty with my computer. I can't repeat this behavior on other computers: I am running windows 7 with Matlab 2014a. When I open a figure in guide, I cannot edit any callbacks using the guide gui. If I right-click any object and then go to "view callbacks" and select any of the callbacks, instead of opening/creating the corresponding function in the m file, it simply opens the property inspector and jumps to the corresponding entry within the property inspector.
Furthermore, the property inspector, when I click the little "editor" icon next to the callback I want to edit, nothing happens.
When I create a brand new GUI object, both selecting "view callback" with a right click and using the editor icon in the property inspector opens the m file. However, as soon as I have saved and re-opened that GUI, this stops working.
Any suggestions for a workaround or for what might be wrong?
Edit: I'm actually having this problem across computers. It does this in all my installations of Matlab 2014a, which makes it very difficult to get anything done in guide since I have to create new callbacks by hand which I'm sure is not best practice.

5 Kommentare

J_DHPC
J_DHPC am 18 Mär. 2015
I am having the same problem. Did you figure out why this is happening?
Mike
Mike am 26 Mai 2015
I am having the same issue. I am pretty sure it is a bug in Matlab.
I know the reason. It is about the set-up of the GUI options. The solution is to select: (Menu) Tools-GUI Options- Generate FIG file and Matlab file- Generate callback function prototypes. Maybe it is a little late for the page host. Hope it will be helpful for others.
thank you very much!
Thank you so much for your help. It was a life-saver :)))

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 5 Dez. 2014

Kommentiert:

am 15 Apr. 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by