
5 Preferences and Options
5-8
Show File Extension in Window Title
Displays the filename with its file extension in the Layout Editor window title.
If unchecked, only the filename is displayed.
Show File Path in Window Title
Displays the full file path in the Layout Editor window title. If unchecked, the
file path is not displayed.
Add Comments for Newly Generated Callback Functions
When this preference is checked, GUIDE includes the comment lines shown in
the following example to all callbacks that are added to the M-file. Some
callbacks are added automatically because their associated components are
part of the original GUDE template that you chose. Other commonly used
callbacks are added automatically when you add components. You can also add
callbacks explicitly by selecting them from
View Callbacks on the View menu
or on the component’s context menu.
% --- Executes during object deletion, before destroying properties.
function figure1_DeleteFcn(hObject, eventdata, handles)
% hObject handle to figure1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
If this preference is unchecked, GUIDE includes comments only for callbacks
that are automatically included to support the original GUIDE template. No
comments are included for any other callbacks that are added to the M-file.
See “Callback Syntax and Arguments” on page 8-11 for more information about
callbacks and about the arguments described in the comments above.
Comentarios a estos manuales