Upload text file and rearrange columns
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi,
I am trying to input the file attached titled "input_file.txt" into MATLAB and organise the content so as to output in the format as seen in "desired_output.xlsx".
댓글 수: 0
답변 (1개)
Monisha Nalluru
2020년 8월 11일
In order to process data into desired output, you can use split function which will be helpful to discard the sentence at required delimiter.
For writing the data to excel you can use writecell, writetable, writematrix depending on the way data is stored.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Text Files에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!