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
2015 年 3 月 18 日
I am having the same problem. Did you figure out why this is happening?
Mike
2015 年 5 月 26 日
I am having the same issue. I am pretty sure it is a bug in Matlab.
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
2019 年 9 月 5 日
thank you very much!
Ege Potur
2021 年 4 月 15 日
Thank you so much for your help. It was a life-saver :)))
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Migrate GUIDE Apps についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!