readtable - renaming variables after creating

조회 수: 1 (최근 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 CenterFile Exchange에서 Text Data Preparation에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by