Get row names of a table...

87 次查看(过去 30 天)
JFz
JFz 2016-10-5
评论: JFz 2016-10-5
How to get the row names from a table which has row names and column names.

采纳的回答

Steven Lord
Steven Lord 2016-10-5
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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by