Effacer les filtres
Effacer les filtres

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

3 vues (au cours des 30 derniers jours)
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?

Réponse acceptée

Geoff Hayes
Geoff Hayes le 20 Avr 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.

Plus de réponses (0)

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by