Clear Filters
Clear Filters

Get row names of a table...

109 views (last 30 days)
JFz
JFz on 5 Oct 2016
Commented: JFz on 5 Oct 2016
How to get the row names from a table which has row names and column names.

Accepted Answer

Steven Lord
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)

Categories

Find more on Matrices and Arrays in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!