Clear Filters
Clear Filters

how to create .dat file?

8 views (last 30 days)
SM on 14 Jul 2020
Answered: madhan ravi on 14 Jul 2020
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!

Answers (1)

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


Find more on Data Import and Analysis in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!