How to get the current variable value in Matlab GUI?
Show older comments
Hello Everyone, I have a GUI which starts plotting a variable value when I push start button and also displays the value of the same variable in Static Text box. The problem is that the variable value gets append in the text box, it does not clear the previous value before showing the current value. I want it to show only the current value of the variable in the box. I have attached the code and image of output for the reference. Thank you

Accepted Answer
More Answers (0)
Categories
Find more on Annotations 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!