You are not clearing out any existing children when you start the function.
You could force everything to be reset by deleting the figure when you are done with one run of it.
Info
此问题已关闭。 请重新打开它进行编辑或回答。
此问题已关闭。
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!