uitable: Changing the Coloumn Name
3 次查看(过去 30 天)
显示 更早的评论
I am working with MATLAB GUI. I have a push button, when I press it, it is going to be like this:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/148026/image.jpeg)
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.
0 个评论
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!