How to limit input formats in an edit text box?
Ältere Kommentare anzeigen
In my GUI (programmatic one) there is an edittext box, used to enter coeeficients.
I need to check the format of input and allow only to these types:
5
0.5
1.6
5.9
0.4565132
5.0000
00000.5
Then I'll save them and call back.
Akzeptierte Antwort
Weitere Antworten (2)
Sean de Wolski
am 26 Jun. 2013
Why not just use a popupmenu?
uicontrol('style','popupmenu','string',{'0.5','3.14','1.6'})
1 Kommentar
Ozan Oguz
am 26 Jun. 2013
Kategorien
Mehr zu Cell Arrays finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!