Numeric data display on GUI

3 visualizzazioni (ultimi 30 giorni)
KV
KV il 22 Gen 2014
Commentato: KV il 23 Gen 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 Commenti
Amit
Amit il 22 Gen 2014
How many numeric data? and what kind of display you need if you dont want table?
KV
KV il 22 Gen 2014
Modificato: KV il 22 Gen 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.

Accedi per commentare.

Risposta accettata

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

Accedi per commentare.

Più risposte (1)

ES
ES il 22 Gen 2014
Modificato: ES il 22 Gen 2014
use uitable :)

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by