MATLAB: Get row names of a table…

MATLAB

How to get the row names from a table which has row names and column names.

Best Answer

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