Make a graph with data from all sheets in excel

2 ビュー (過去 30 日間)
Jamie Shelley
Jamie Shelley 2016 年 7 月 21 日
コメント済み: dpb 2018 年 3 月 9 日
Every day I carry out a new experiment, each one corresponds to a seperate sheet on the same excel file. Is there a way of finding the data from each sheet to plot it all on one graph? Thanks
  4 件のコメント
noname
noname 2018 年 3 月 8 日
It gave me an error if I used xlsfinfo. I want to read all the spreadsheet in the same excel file and plot each spreadsheet, not plot them in one graph. Can anyone give an example how to do it? Thanks alot.
dpb
dpb 2018 年 3 月 9 日
Have to show the code that caused the error...post what you've tried and where ran into a problem.

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

採用された回答

dpb
dpb 2016 年 7 月 21 日
編集済み: dpb 2016 年 7 月 21 日
Sure, just use xlsinfo to return the sheet names in the spreadsheet and iterate over that collection. See
doc xlsfinfo
doc xlsread % for details
  2 件のコメント
Jamie Shelley
Jamie Shelley 2016 年 7 月 21 日
ah Thanks, I've just seen your answer, that seems similar to what I did (although I used xlsfinfo as opposed to xlsinfo), thanks!
dpb
dpb 2016 年 7 月 21 日
"I used xlsfinfo as opposed to xlsinfo"
That was a typo, there is no xlsinfo

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

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