MATLAB Answers

Data Suddenly Disappeared When Inputting to UiTable

2 views (last 30 days)
ElevenFourth
ElevenFourth on 15 Apr 2013
Hello Everyone,
I am facing a problem. I am using uitable with guide. When I press the "Run Figure" on the .fig file and try to insert data to the uitable, my data would suddenly disappear right after pressing enter or tab. But if I run it through the .m file, it would work perfectly.
What would possibly be the cause of the problem?
Thanks in advance !

Answers (1)

Jing
Jing on 16 Apr 2013
'Run figure' is not a correct way to get your GUI work. It can only display the figure and the callbacks won't work. Type the GUI name in command window(without '.m') or click run button in mfile to get a GUI work.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!