readtable - renaming variables after creating

5 ビュー (過去 30 日間)
jlt199
jlt199 2016 年 8 月 25 日
回答済み: Star Strider 2016 年 8 月 25 日
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 Center および File ExchangeEnvironment and Settings についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by