Borrar filtros
Borrar filtros

How to write a .tsv file?

67 visualizaciones (últimos 30 días)
Alba Peris
Alba Peris el 15 de Dic. de 2022
Respondida: Stephen23 el 15 de Dic. de 2022
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!

Respuesta aceptada

Stephen23
Stephen23 el 15 de Dic. de 2022
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

Más respuestas (0)

Categorías

Más información sobre Tables en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by