How can i write a line from an excel file to a matrix

1 view (last 30 days)

I have 31 excel files and i want to read a specific line of each file (actually 24 cells of each file) and create a matrix with two lines and 24x31 coloumns. The first line will be the counter (1,2,3,...744) and the second line will be the value that i take from each cell of the excell files. I have managed to create a loop to read the values that i want but i cannot find a way to create the matrix. This is what i have done so far.:

ignore the "=" on line 13.

Accepted Answer

Spyros Kapa
Spyros Kapa on 20 Apr 2018

It's ok i found a way to do it!! (it was quite simple actually but i am totally new in programming)!

More Answers (0)

Community Treasure Hunt

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

Start Hunting!