Numeric data display on GUI

5 views (last 30 days)
KV
KV on 22 Jan 2014
Commented: KV on 23 Jan 2014
I am looking to generate some numerical values programatically in .m script, and then I wish to display it on the GUI. I was looking at the options on the left hand side of GUI editor and I cant see any options that can be used besides using a table (which i dont wish to use). Am I missing something very obvious here?
Thanks K
  2 Comments
Amit
Amit on 22 Jan 2014
How many numeric data? and what kind of display you need if you dont want table?
KV
KV on 22 Jan 2014
Edited: KV on 22 Jan 2014
Hi Amit. It will be 2 numerical values which will need to be displayed separately. Each numerical value is between 0 and 999.99, so not a lot of data.
I was thinking about having a display similar to 'edit text', so something very simple.

Sign in to comment.

Accepted Answer

Amit
Amit on 22 Jan 2014
You can use 2 text boxes. The numerical values can be converted to string using num2str
  1 Comment
KV
KV on 23 Jan 2014
Although not ideal, thats the closest thing available indeed.
Thanks

Sign in to comment.

More Answers (1)

ES
ES on 22 Jan 2014
Edited: ES on 22 Jan 2014
use uitable :)

Categories

Find more on Characters and Strings in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!