フィルターのクリア

transfer a table into a text file

2 ビュー (過去 30 日間)
me
me 2015 年 11 月 7 日
コメント済み: Geoff Hayes 2015 年 11 月 8 日
I have converted the cell of different data types(char, string, double) into a table; dose anyone know how I can transfer the table into a text file.

回答 (1 件)

Geoff Hayes
Geoff Hayes 2015 年 11 月 7 日
me - try using writetable which will write the table to a comma delimited file.
  2 件のコメント
me
me 2015 年 11 月 8 日
the table can be seen to the right, and the error I get when using writetable can be seen in the C.W.. Do you have any other suggestions?
Geoff Hayes
Geoff Hayes 2015 年 11 月 8 日
The second input parameter to writetable is the name of (and path to) a file, not a file descriptor. Try
writetable(GPS_Data,'myFile.txt');

サインインしてコメントする。

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by