folders containing excel spreadsheets

5 次查看(过去 30 天)
ricco
ricco 2011-11-30
I have 4 folders each consisting of several (>10) excel spreadsheets. How is it possible to extract the last worksheet of each spreadsheet into matlab. So that in matlab, the data will be such that a cell would represent a folder and within that cell you would have the contents of each folder i.e. the data from the last worksheet of each spreadsheet?
cheers

回答(1 个)

Robert Cumming
Robert Cumming 2011-11-30
doc dir
doc xlsread
doc cell
should give you somewhere to start...
  6 个评论
ricco
ricco 2011-11-30
the folders are all in the same directory.
Robert Cumming
Robert Cumming 2011-12-1
fixed?
clever?
dynamic?
concentrate on loading the data from one file - then expandm rather than trying to solve the problem in one go.

请先登录,再进行评论。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by