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!