Data Suddenly Disappeared When Inputting to UiTable

2 visualizzazioni (ultimi 30 giorni)
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 !

Risposte (1)

Jing
Jing il 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.

Categorie

Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by