Unless you edit the saved GUI graphic, the basic structure of handles will not include your new component by default.
One way to access your component is to save the handle through guidata by adding the following to your open function:
handles.til2 = uicomponent(handles, 'style','com.jidesoft.combobox.DateChooserPanel','tag','til2'); guidata(hObject,handles)
Functions that need to access the descriptor require a string
handles = guidata(hObject)
to return the full descriptor structure that includes the submitted til2
Jonas source share