Loading multiple excel files with different names

조회 수: 4 (최근 30일)
Ziv Kassner
Ziv Kassner 2014년 6월 24일
댓글: Sara 2014년 6월 24일
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
Ziv Kassner
Ziv Kassner 2014년 6월 24일
I want to know how can I write a script that will read or load all the files by order and take the data from a specific place on each and everyone of them...
Sara
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
Dishant Arora 2014년 6월 24일

카테고리

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