transfer a table into a text file
2 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
Geoff Hayes
2015-11-7
2 个评论
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 Exchange 中查找有关 Text Files 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!