Loading multiple excel files with different names
古いコメントを表示
I need to load multiple excel files with different names (it's important that they'll keep their names) and put a calculation that I've made into a new parameter i.e. create a vector of numbers that each one of them belongs to a different excel file.
-Ziv-
3 件のコメント
Sara
2014 年 6 月 24 日
And what do you want to know? How to read the files? How to loop thru the files? how to create an array?
Ziv Kassner
2014 年 6 月 24 日
Sara
2014 年 6 月 24 日
Look up xlsread for reading parts of the excel file. For the loop, it depends on how the files are named. You can use ls or dir to get the list of files in one directory for instance and cycle only thru the excel ones. The specifics of the script depend on what exactly you want to do. Try those functions and if you can't get anywhere, publish your code for people to comment upon.
回答 (1 件)
Dishant Arora
2014 年 6 月 24 日
0 投票
カテゴリ
ヘルプ センター および File Exchange で Spreadsheets についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!