Tranfering excel to mat

3 ビュー (過去 30 日間)
Bennett Torrance
Bennett Torrance 2017 年 1 月 24 日
編集済み: Niels 2017 年 1 月 24 日
I have about 45 data files (all with hundreds of thousands of data points) all in either text format or excel. How to I transfer them from to MAT files in the most efficient way possible? Thanks!

採用された回答

Niels
Niels 2017 年 1 月 24 日
編集済み: Niels 2017 年 1 月 24 日
i can think of 1 way, but it can be quite annoying.
you use textscan to read the data from .txt files and xlsread for the excel files. save the data in variables and then use save. the result will be a .mat file. (it may be easier to save them all in the array of one variable)
if the files are located in 1 folder its easier, you can use dir and a for loop

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