How can I make a editbox show what is happening in the command window?
1 次查看(过去 30 天)
显示 更早的评论
Hi
I need help to make a gui editbox code, that allows the numbers in the command window yo be shown in a editbox during the calculation.
I've have a video of the problem, select HD and full screen and you can see my mouse showing what numbers I want to appear in my editbox.
Im NOT looking for the final number, because I cant wait until the calculation is done and then make the command window send the number to my editbox. I need it to do it while its calculating. Due to the fact that it's a iterative process that I have to cancel if the numbers are two far apart.
If no one can help, can anyone help me with a homepage where I can buy the expert help I'm seeking.?
0 个评论
采纳的回答
Sean de Wolski
2013-4-10
What is happening that is causing the numbers to show up at the command window?
Whatever function is printing this should be called from within the GUI and returning the values so that the GUI can update the 'String' of the edit boxes.
If it's user interaction in the command window, there is not a documented way to do this.
3 个评论
Image Analyst
2013-4-11
Why can't you just put a set(handles.textLabel, 'String', yourstring) inside your loop? You'll probably also need a drawnow.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!