MATLAB Creating Graphical User Interfaces

(Barry) #1
Automatically Refresh Plot in a GUIDE UI

For details about timer properties, methods, and events, see “Use a MATLAB Timer
Object” and the timer reference page.


The Timer Implementation


Each callback in the UI either creates, modifies, starts, stops, or destroys the timer
object. The following sections describe what each callbacks does.



  • “ex_guide_timergui_OpeningFcn” on page 9- 82

  • “startbtn_Callback” on page 9- 82

  • “stopbtn_Callback” on page 9- 82

  • “periodsldr_Callback” on page 9- 82

  • “update_display” on page 9- 83

  • “figure1_CloseRequestFcn” on page 9- 83

Free download pdf