How to display result in command window in GUI?

I have no idea to display my result in GUI. Should I use editbox and how to use it? Need to show the result is "No defect" or "Scratch detected" in GUI.

回答(1 个)

Using an edit_box is an option. You have to use the set function.
Once you have your edit_box, just do something like this:
set(handles.your_editbox_handle_name,'String','NO DEFECT')

类别

帮助中心File Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by