extracting datas from excel

2 次查看(过去 30 天)
Hi again !! today i have one question too.But this time it is about Excel... We are making experiments and we are taking experiments outcomes in Excel .But the Problem is: the amount of outcomes or results Change from experiments to experiments. Namely;
Pressure(1.Experiment): 1 2 3 4 5....
Pressure (2.Experiment):1 2 3 4 5 6 7 8 9 .. As you see the results vary from Experiment to Experiment. Is it possible that to coding this Problem. Is there any code to solve this Problem.or should i Change column ranges in m-file-
as you know: xlsread (filename,xLrange) I Need your help!!!!

采纳的回答

Luuk van Oosten
Luuk van Oosten 2015-1-23
You could set the range to import to a very high number; If your amount of columns is fixed (let us say from A to E), but your amount of rows is varying (but you know it is never more than 1000) you could use somthing similar:
xlsread(filename,A1:E1000)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Import from MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by