% --- Executes on button press in tl_variable. function tl_variable_Callback(hObject, eventdata, handles) % hObject handle to tl_variable (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) tlcg_data = get_tlcg_data(gcbh); output = tlcg_data.output; [currentPath,bModified] = dsdd('SelectObject','CurrentPath',output.variable ,'objectKind','Variable'); if bModified == 1 output.variable = currentPath; tlcg_data.output = output; set_tlcg_data(gcbh, tlcg_data); end