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!

 Akzeptierte Antwort

Stephen23
Stephen23 am 15 Dez. 2022

0 Stimmen

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

Weitere Antworten (0)

Kategorien

Mehr zu Chemistry finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by