Call back a line from edit text box

2 次查看(过去 30 天)
Hi,how can I call back a line from an edit text box which gatter datas(trough a push button with sprintf) from multiple edit text boxes with a push button in guide. Practically I want to callback datas back to their original edit boxes...
  8 个评论
Cristian Martin
Cristian Martin 2022-5-23
function pushbutton13_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton13 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
set(XXXXXXXX,'CellSelectionCallBack',@(h,e) set(h,'UserData',e));
D=get(XXXXXXXX,'Data');
Index=get(XXXXXXXX,'UserData');
D(Index(1))=[];
set(XXXXXXXX,'Data',D);
pushbutton13_Callback is the delete button for selected row
I found this her but I dont knou hou to aplly it, what replace XXXXXX?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

产品


版本

R2015a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by