how to create .dat file?

13 次查看(过去 30 天)
SM
SM 2020-7-14
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!

回答(1 个)

madhan ravi
madhan ravi 2020-7-14
As simple as that:
writetable(cell2table(dataset), 'Sample.dat')

类别

Help CenterFile Exchange 中查找有关 Data Import and Analysis 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by