Managing Code in App Designer Code View
Code View provides most of the same programming features that the MATLAB Editor
provides. It also provides a rich set of features that help you to navigate your code and
avoid many tedious tasks. For example, you can search for a callback by typing part of its
name in a search bar. Clicking a search result scrolls the editor to the definition of that
callback. And if you change the name of a callback, App Designer automatically updates
all references to it in your code.
Managing Components, Functions, and Properties
Code View has three panes to help you manage different aspects of your code. This table
describes each of them.
Pane Name Pane Appearance Pane Features
Component
Browser
- Context menu — Right-click a component in
the list to display a context menu that has
options for deleting or renaming the
component, adding a callback, or displaying
help. Select the Include Component
Labels in Component Browser option to
display grouped component labels. - Search bar —Quickly locate a component by
typing part of its name in the search bar. - Inspector tab — Use this tab to view or
change property values for the component
that is currently selected. You can also
search for a property by typing part of the
name in the search bar at the top of this tab. - Callbacks tab — Use this tab to manage the
callbacks for the component that is selected.
17 App Programming