Need Help:: Data import and export of modified data

1 回表示 (過去 30 日間)
Frank
Frank 2011 年 5 月 9 日
Hello!
The issue I have is: I have a large collection of excels that I need to extract the first two columns from each and save the extracted columns into a new excel file (also probably a new folder as well). Can Matlab do this? and can someone help me get started? "I'm very new to MatLab"
Thanks,
-Frank

採用された回答

Saurabh Thakur
Saurabh Thakur 2011 年 5 月 9 日
You can use the XLSREAD function to read the first two columns into MATLAB. XLSREAD allows you to specify the range of data you want to read in.
Once you have to data in MATLAB, you can modify it as needed and then use the XLSWRITE function to write it out to a new Excel file.
  1 件のコメント
Frank
Frank 2011 年 5 月 9 日
This works! Thank you!
-Frank

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

その他の回答 (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