How to clear the whole field in edit text?
1 view (last 30 days)
Show older comments
Ekaterina Sadovaya
on 6 Mar 2018
Answered: Walter Roberson
on 7 Mar 2018
I have a GUI and one of it's function is to show some strings in edit text. It's working well, but only before the field ends. How can I clear the whole field, not only one string? I want to make a loop or something that prints the strings one by one, then, when the end of the field comes, clears it and continues to print from the same moment.
0 Comments
Accepted Answer
Walter Roberson
on 7 Mar 2018
Set the edit control String property to {} if Max is set to 2 or more, or to '' if Max is set to 1
0 Comments
More Answers (0)
See Also
Categories
Find more on Loops and Conditional Statements 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!