transfer a table into a text file

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일

0 개 추천

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?
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');

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Tables에 대해 자세히 알아보기

질문:

me
2015년 11월 7일

댓글:

2015년 11월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by