how to create .dat file?

Is it possible to create a single .dat file from the following data?
dataset =
2×2 cell array
{1×6 double} {1×3 double}
{1×4 double} {1×4 double}
Thanks in advance!

Respuestas (1)

madhan ravi
madhan ravi el 14 de Jul. de 2020

0 votos

As simple as that:
writetable(cell2table(dataset), 'Sample.dat')

Categorías

Etiquetas

Preguntada:

SM
el 14 de Jul. de 2020

Respondida:

el 14 de Jul. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by