[gui] how to load data?

1 回表示 (過去 30 日間)
Hojae Ahn
Hojae Ahn 2016 年 6 月 11 日
コメント済み: Image Analyst 2016 年 6 月 11 日
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 日
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 件)

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by