I have edit boxes and a push-button that takes their values and runs it through a different function (Some edit boxes don't need to be filled in depending the circumstances). I had used the GUI to test it and it worked fine but after closing it and running it again with some different values, I noticed that it was retrieving data that was in the boxes the last time I ran it and is causing a disruption in the code. I even decided to make it so that if the edit box is empty to make the value equal to 0 but it did not fix the problem! It is still somehow accessing previous values entered? Any idea what might be the problem?
MATLAB: GUI is remembering values entered last time it was open, how to stop this
errorguiinputmatlab gui
Related Question
- How to update value of a variable when a button is pushed? What am I doing wrong in this code
- H i every one , i need to declare a counter such that if any one of the four buttons is pressed a specefic funtion specified in the fifth button is performed.Suppose UserData can not be used it reserved for something else
Best Answer