Display value to gui table

조회 수: 2 (최근 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