Display value to gui table

9 次查看(过去 30 天)
Atikah Shukor
Atikah Shukor 2019-12-11
评论: Amit 2019-12-17
Hello,
I having a problem where im created the gui table. how to put the value inside the table? the value i mean is the result calculation that i made.
the code already calculate the value. i want the result value directly appear at the table. As u can see the value at amplitude, zerocrossing and rising.
Data will run automate which i set for 5 data. I really need help for this. tq
1.PNG

回答(1 个)

Amit
Amit 2019-12-11
Hi,
Arrange the result data in matrix form and set on the table using table handle. If the data is getting calculated in some other callback function then better to make the data variable global and use.
tbl.PNG
  2 个评论
Atikah Shukor
Atikah Shukor 2019-12-11
can i see the code since a bit confuse to arrange result in matrix and set at table handles. why need arrange in matrix but table already made for it?
Amit
Amit 2019-12-17
I have attached the screenshot with example code above. The matrix is not necessary if you know the addressing . You can feed the data to table directly addressing the rows and columns of the table. but to minimize the complexity you can accmulate the data in a matrix and feed in one go.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Tables 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by