[讨论] 如何读取 excel 中 多个sheet的 同一个

楼主: amateuruser (U文心得大师)   2018-12-12 22:46:15
如题
目前手边有一个excel raw data
Excel内部有多个sheet 且每个sheet都有装资料
请问一下如何利用loop循环 将每一个sheet中固定储存格读取 且储存成vector or array ?
Ex:假设每个sheet都是A1这个储存格的data要取出来
谢谢
作者: linkinflyer (飞侠不会飞)   2018-12-13 23:50:00
假设档名叫QQQ.xlsx,共10个sheetfor i = 1:10data(i) = xlsread('QQQ.xlsx',i,'a1')plot((1:10),data)抱歉 plot前要加一个end

Links booklink

Contact Us: admin [ a t ] ucptt.com