readtable - renaming variables after creating

6 次查看(过去 30 天)
Hi,
I'm using readtable to read in and create a table of data in a text file. The way the text file is written there is no row containing the header names. Hence readtable names the columns Var1, Var2, ...
Is there a way of renaming these names to something more descriptive after the table has been formed?
Thank you

采纳的回答

Star Strider
Star Strider 2016-8-25
See the documentation for Change a Variable Name.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by