Saving matrix that contains cell arrays
조회 수: 1 (최근 30일)
이전 댓글 표시
Can anyone tell me the best way to save a large file that looks like this? I will be sharing it with colleagues to use in Matlab.
I have tried
save gps_table.mat gps %gps is name of variable
but this doesn't work, it tells me 'Cannot import from an empty input file'
댓글 수: 0
답변 (1개)
David Hill
2021년 4월 19일
writetable(gps,'gps_table.mat');
댓글 수: 2
David Hill
2021년 4월 20일
Sorry, this should work.
save('gps_table.mat','gps');
Alternatively
writetable(gps,'gps_table.txt');
참고 항목
카테고리
Help Center 및 File Exchange에서 Environment and Settings에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!