extracting datas from excel

1 vue (au cours des 30 derniers jours)
cemsi888
cemsi888 le 23 Jan 2015
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!!!!

Réponse acceptée

Luuk van Oosten
Luuk van Oosten le 23 Jan 2015
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)

Plus de réponses (0)

Catégories

En savoir plus sur Data Import from MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by