Coding UI Behavior

Control behavior of user interfaces

A callback is a function that you write to make components, such as buttons, sliders, or menus, respond to user input, such as button clicks, slider movements, and menu item selections.


uiwait Block program execution and wait to resume
uiresume Resume execution of blocked program
waitfor Block execution and wait for condition
waitforbuttonpress Wait for key press or mouse-button click
getappdata Retrieve application-defined data
setappdata Store application-defined data
isappdata True if application-defined data exists
rmappdata Remove application-defined data
guidata Store or retrieve UI data
guihandles Create structure of handles
closereq Default figure close request function
uisetpref Manage preferences used in uigetpref
Was this topic helpful?