can any one help me on this how to convert this text file into excel sheet..

조회 수: 2 (최근 30일)
this is my text file

채택된 답변

Star Strider
Star Strider 2020년 7월 20일
Try this:
T = readtable('RD-120101-031900.txt', 'PreserveVariableNames',1);
FirstFiveRows = T(1:5,:); % Sample Input Result
writetable(T, 'RD-120101-031900.xlsx'); % Write Excel File
T2 = readtable('RD-120101-031900.xlsx', 'PreserveVariableNames',1); % Read Excel File
FirstFiveRows2 = T2(1:5,:); % Sample Input Result
See the documentation for the various functions for details on their use.
.
  댓글 수: 6
surya pramod Jalakam
surya pramod Jalakam 2020년 7월 22일
Thank you so much for your support & explanation.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by