MATLAB: How to put in data in a table in a GUIDE user interface

guide user interface table

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?

Best Answer

  • Typically, you set the data of the table.
    set(handles.Tabel,'Data',x}