how to make edit text eccept more than a number
Show older comments
i want to design a calculator and i don't know how to use edit text
Accepted Answer
More Answers (2)
Image Analyst
on 24 Apr 2016
If you're using GUIDE, you can get the string in the edit text box from the properties of it. Let's say your edit text box has a tag "userInput". Then you just do
theString = handles.userInput.String;
If you have a really old version of MATLAB (prior to R2014b) you'll have to use the get() function:
theString = get(handles.userInput, 'String');
John BG
on 26 Apr 2016
1 vote
if you start working from others have stopped, you win the effort they've put.
Collaboration and cooperation are usually more productive than confrontation,
or denial by trying to build on your own what is already freely available out there.
Your calculator GUI effort, would you choose to, could start from any of the following:
If you find this answer of any help solving your question,
please click on the thumbs-up vote link,
thanks in advance
John
1 Comment
safaa saber
on 29 Apr 2016
Categories
Find more on Large Files and Big Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!