Get row names of a table...
109 views (last 30 days)
Show older comments
How to get the row names from a table which has row names and column names.
Accepted Answer
Steven Lord
on 5 Oct 2016
See the table object property RowNames. The RowNames section on that page includes examples of how to set and clear the names; to get the names just use something like
x = yourTableVariableNameGoesHere.Properties.RowNames
More Answers (0)
See Also
Categories
Find more on Matrices and Arrays in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!