create a csv file
조회 수: 43 (최근 30일)
이전 댓글 표시
Hello,
Can someone please help me write the code in MATLAB to create a csv file like the attached? My matlab code creates all the numeric values. Thanks a lot.
댓글 수: 0
답변 (1개)
Wilson A N
2018년 6월 11일
You can first create a cell array which preserves the same structure as you want to get displayed in the csv file.
Next, to import it to a .csv file or .xlsx file, use the xlswrite command with the filename,cellarray, sheet and desired range.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Tables에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!