uitable: Changing the Coloumn Name

2 views (last 30 days)
Alvi Syahrin
Alvi Syahrin on 27 May 2013
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.

Answers (1)

Muruganandham Subramanian
Muruganandham Subramanian on 27 May 2013
Edited: Muruganandham Subramanian on 27 May 2013

Community Treasure Hunt

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

Start Hunting!