Display value to gui table

1 回表示 (過去 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 Center および File ExchangeTables についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by