How do i create a UItable with the data i want to be filled in the table ?

9 views (last 30 days)
I have dragged and dropped a UItable in my Matlab GUI.I want to fill the table with some data.I dont have an callback function for a uitable where i can put my datas from the .m file.How do i start to fill datas into the uitable manually?
Kindly help me with this.Can anyone give me an example of this?

Accepted Answer

Geoff Hayes
Geoff Hayes on 20 Apr 2018

sachin - since you mention "dragged and dropped" the uitable onto your GUI, I'm assuming that you are using GUIDE. If so, then you can use the GUI's OpeningFcn to populate the data with your data. See https://www.mathworks.com/matlabcentral/answers/263992-how-can-i-create-table-of-fixed-values-in-matlab-gui for an example.

More Answers (0)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!