フィルターのクリア

How to write a .tsv file?

67 ビュー (過去 30 日間)
Alba Peris
Alba Peris 2022 年 12 月 15 日
回答済み: Stephen23 2022 年 12 月 15 日
I wanted to write a cell or a table into a .tsv, however I cannot find the commands needed. How could I do this?
Thanks very much!

採用された回答

Stephen23
Stephen23 2022 年 12 月 15 日
C = {'hello',1;'world',3.14159}
C = 2×2 cell array
{'hello'} {[ 1]} {'world'} {[3.1416]}
writecell(C,'test.tsv', 'filetype','text', 'delimiter','\t')
Checking:
type test.tsv
hello 1 world 3.14159

その他の回答 (0 件)

カテゴリ

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