Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

problem with call back function in gui

조회 수: 1 (최근 30일)
Farjana Yeasmin
Farjana Yeasmin 2014년 12월 1일
마감: MATLAB Answer Bot 2021년 8월 20일
here,in push button22 I load the text from a file into the edit box named "mesage_length" .now i want to use the text in the retrive_ok funtion. how can I do that ?? plz help
{% --- Executes on button press in pushbutton22. function pushbutton22_Callback(hObject, eventdata, handles)
[filename,pathname,filterindex] = uigetfile('*.txt')
file_extention=[pathname,filename];
set(handles.message_length1,'String',file_extention)
function retrieve_ok_Callback(hObject, eventdata, handles)
image_string=get(handles.image2,'String');
text_string1=get(handles.message_length1,'String');
text_string=str2num(text_string1);
retrieve(image_string,text_string*2);}

답변 (0개)

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by