Programmed GUI help: Storing and using values
古いコメントを表示
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 件のコメント
Ben11
2014 年 6 月 29 日
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
2014 年 6 月 29 日
Joakim Magnusson
2014 年 6 月 30 日
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?
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で String についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!