uitable: Changing the Coloumn Name

1 次查看(过去 30 天)
Alvi Syahrin
Alvi Syahrin 2013-5-27
I am working with MATLAB GUI. I have a push button, when I press it, it is going to be like this:
To show that table, I wrote this script:
t=uitable;
set(t,'Data',y)
y is the variable to show the numbers in the table.
The problem is, I want to change the coloumns name. For example, the first coloumn is going to be named X, the second coloumn is Y, the third coloumn is Z, the fourth coloumn is T. What script should I add to change the name of the coloumn?
Your answer will be appreciated. Thank you.

回答(1 个)

Muruganandham Subramanian
编辑:Muruganandham Subramanian 2013-5-27

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by