MATLAB Answers

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

145 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?


Sign in to comment.

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 for an example.

More Answers (0)

Sign in to answer this question.