GUI variables in memory
조회 수: 3 (최근 30일)
이전 댓글 표시
I am setting up a simple GUI using GUIDE. The GUI makes use of a class I have created, say Class1. In pretty standard manner, it populates 'handles' with instances of Class1 in the course of doing its thing.
Now my problem is the following: if I open, run, then close the GUI and subsequently modify Class1, then try to instanciate it (after mods) in the command line, I get the standard 'Class1 has been modified but instances are still in memory' warning.
However there is no trace of Class1 in the workspace. I can only guess that upon closing the GUI, instances of Class1 are not destroyed properly and still sit somewhere.
Anyone with the same problem ? Is there some explicit variable destroying to do before exiting a GUI ?
댓글 수: 0
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!