i want load data from workspace
i think that
set(handles.e_hole_1_min,'string','gui_H_size')
but do not working...

 채택된 답변

Image Analyst
Image Analyst 2016년 6월 11일

0 개 추천

Try using num2str to convert the number to a string:
set(handles.e_hole_1_min, 'String', num2str(gui_H_size));
or with recent versions:
handles.e_hole_1_min.String = num2str(gui_H_size);
If that doesn't work, actually even if it does, read this.

댓글 수: 2

Hojae Ahn
Hojae Ahn 2016년 6월 11일
편집: Hojae Ahn 2016년 6월 11일
do now work this code... @(hObject,eventdata)gui_2pin2hole_v2('b_load_Callback',hObject,eventdata,guidata(hObject)) Error while evaluating uicontrol Callback
Image Analyst
Image Analyst 2016년 6월 11일
You'll have to give more information and context that that. I don't know what you're asking.

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

추가 답변 (0개)

카테고리

태그

질문:

2016년 6월 11일

댓글:

2016년 6월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by