[gui] how to load data?
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hojae Ahn
am 11 Jun. 2016
Kommentiert: Image Analyst
am 11 Jun. 2016
i want load data from workspace
i think that
set(handles.e_hole_1_min,'string','gui_H_size')
but do not working...

0 Kommentare
Akzeptierte Antwort
Image Analyst
am 11 Jun. 2016
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);
2 Kommentare
Image Analyst
am 11 Jun. 2016
You'll have to give more information and context that that. I don't know what you're asking.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu String Parsing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!