how to create .dat file?

조회 수: 13 (최근 30일)
SM
SM 2020년 7월 14일
답변: madhan ravi 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