フィルターのクリア

how do I add headings to my table

1 回表示 (過去 30 日間)
me
me 2015 年 11 月 8 日
回答済み: Walter Roberson 2015 年 11 月 8 日
I converted a cell array into a table using cell2table then used writetable to put it into a text file. It put in default headings on it. How can I change the title of the default headings?

回答 (1 件)

Walter Roberson
Walter Roberson 2015 年 11 月 8 日
If you do not want the variable names as the headings then you can set 'WriteVariableNames' to false. You can then have the first row of the content be the headings you do want, or you can (in some other way) create the file with the desired headings and use the Range option to write the content below the headings you put in.

カテゴリ

Help Center および File ExchangeTables についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by