Displaying numbers in GUI

I have designed a GUI and now I want to display a value (number) in a textbox in the GUI. How do I do it?

Answers (1)

your_number=10
set(handles.textbox1,'string',num2str(your_number))

Categories

Find more on App Building in Help Center and File Exchange

Tags

Asked:

on 26 Oct 2013

Answered:

on 26 Oct 2013

Community Treasure Hunt

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

Start Hunting!