MATLAB Answers

GUI update ( code and figure )

29 views (last 30 days)
Mohammad Naser
Mohammad Naser on 20 Jul 2019
Answered: Navya Seelam on 24 Jul 2019
Hello, Im working with GUI functions and Im facing a problem with the editing.
When I add buttons or modify any thing on the figure, the code (m-file) does not update to show the new commands for the added buttons for example.
How can I solve this issue?
Thank you

  1 Comment

G A on 20 Jul 2019
Check your options in GUIDE Tools-->GUI Options...

Sign in to comment.

Answers (1)

Navya Seelam
Navya Seelam on 24 Jul 2019
Check Generate callback function prototypes under Generate FIG file and MATLAB file in
Tools-->GUI Options-> Generate FIG file and MATLAB file-> Generate callback function prototypes


Sign in to comment.

Sign in to answer this question.