MATLAB Answers


Data Suddenly Disappeared When Inputting to UiTable

Asked by 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 !



No products are associated with this question.

1 Answer

Answer by 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.


Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!