Programmed GUI help: Storing and using values
Show older comments
I am making a calculator and am trying to use a GUI. I have a working function that calculates the values properly using a normal function input method. What I want to do is use a GUI to input the data rather than typing it in manually. Then output that data in text boxes within the GUI. What I am having trouble with is taking data from the inputs and combining them into one calculating function, and then reporting the calculated values. I have been told that the guidata() function should help but I cannot seem to get that function to work in my program. If anyone is interested I have my scripts that I can send to them (the working 'traditional style' script, and the not yet working GUI script that I am trying to incorporate the calculations into). Thank you for looking at this.
3 Comments
Ben11
on 29 Jun 2014
When you say 'input the data' do you mean getting a bunch of numbers, for example, and performing many different calculations on them or rather enter values manually in textboxes, press a 'calculate' button and get the output?
Gregory
on 29 Jun 2014
Joakim Magnusson
on 30 Jun 2014
Can you post an example of how you retrive your data and what you try to do with the data? And what errors do you get?
Answers (0)
Categories
Find more on String in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!