R2017b GUIDE does not create callbacks

51 views (last 30 days)
Dave Watson
Dave Watson on 19 Sep 2025 at 16:43
Commented: dpb on 30 Sep 2025 at 19:13
Have a GUIDE GUI with associated code created usng R2015b. In R2015b, GUIDE offers automatic creation of default callbacks for GUI a control - e.g., a toolbar toggle - and writes the function skeleton into the GUI code.
This does not happen with my R2017b installation. Furthermore, specifying the callbacks manually on the property sheet also does not create the skeleton/template in the GUI code?
Work around?
  10 Comments
dpb
dpb on 22 Sep 2025 at 11:46
I stumbled over the above link and considered attaching it also, @Rik...it's a most interesting read, indeed.
Dave Watson
Dave Watson on 30 Sep 2025 at 16:16
@dpb 21 Sep 2025 at 15:20 "I surely wish Mathworks would not try to be big brother but let users simply decide on their own which course they wish to follow. Telling once is fine; continuing to nag and putting stuff in the way is simply being rude."
Amen x 10!

Sign in to comment.

Accepted Answer

dpb
dpb on 21 Sep 2025 at 20:46
I installed R2017b w/ update 9 and it seems to create the callback code just fine...did you install the last update?
While I was at it, I then jumped to R2019b to check about the nagging and it is in it with the same issue in the design view of being able to collapse it to a single row but not close it entirely.
I didn't try either R2018 release gargle says the warning was introduced in R2018a so I presume that's probably when the warning in the design view shows up as well.
But, I can't reproduce your issue in R2017b/Update 9.
  2 Comments
Dave Watson
Dave Watson on 30 Sep 2025 at 16:08
Well, that's a very good point and the answer is, no. I will update and try. Thank you!
dpb
dpb on 30 Sep 2025 at 19:13
Good luck, I can only report that with very minimal testing of creating a new app with a couple of controls added it seemed to work here. One wouldn't have thunk they would have munged up something in GUIDE during a release in that time frame, but "ya' never know!".

Sign in to comment.

More Answers (0)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!