Call back a line from edit text box

조회 수: 2 (최근 30일)
Cristian Martin
Cristian Martin 2022년 5월 22일
댓글: Cristian Martin 2022년 5월 23일
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?
Cristian Martin
Cristian Martin 2022년 5월 23일
It's done, it was handles.uitable1

댓글을 달려면 로그인하십시오.

답변 (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