Effacer les filtres
Effacer les filtres

how to put in data in a table in a GUIDE user interface

1 vue (au cours des 30 derniers jours)
Adam
Adam le 14 Oct 2011
i have created a user interface with GUIDE, and in that user interface i have a table. I have also made a function which has produced some data:
[handles.MinFreq,handles.MinVolt,handles.MinCurr] = minValue(handles.data{1},10)
x = handles.MinFreq
x =
114044 49864
114042 49865
114046 49867
114040 49869
220525 49871
114038 49872
114048 49872
113935 49874
220523 49874
114036 49875
Now i want to put these data into the table... how can i do this? The function does not create any variable in the MatLab workspace... why is that?

Réponse acceptée

Fangjun Jiang
Fangjun Jiang le 14 Oct 2011
Typically, you set the data of the table.
set(handles.Tabel,'Data',x}
  2 commentaires
Adam
Adam le 14 Oct 2011
and handles.Table is af reference to the tag of the table?
Fangjun Jiang
Fangjun Jiang le 14 Oct 2011
Yes.

Connectez-vous pour commenter.

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