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 件のコメント

J_DHPC
J_DHPC 2015 年 3 月 18 日
I am having the same problem. Did you figure out why this is happening?
Mike
Mike 2015 年 5 月 26 日
I am having the same issue. I am pretty sure it is a bug in Matlab.
Peipei Liu
Peipei Liu 2015 年 10 月 19 日
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.
Krystof Filip
Krystof Filip 2019 年 9 月 5 日
thank you very much!
Ege Potur
Ege Potur 2021 年 4 月 15 日
Thank you so much for your help. It was a life-saver :)))

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMigrate GUIDE Apps についてさらに検索

質問済み:

2014 年 12 月 5 日

コメント済み:

2021 年 4 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by