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.
Star Strider
Star Strider 2020 年 7 月 22 日
As always, my pleasure!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSpreadsheets についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by