Using Matlab to Work with Data in Excel

3 Ansichten (letzte 30 Tage)
meirSimchah
meirSimchah am 12 Dez. 2012
I have data in .xlsx files. I want to read it into Matlab matrices, do stuff with it, then write it into new .xlsx files. The documentation for xlsread and xlswrite makes this sound simple; but then, it turns out, I need to learn about COM and I don't even know what else. I'm a beginner with Matlab and with programming in general. So please keep things simple for me. Can you help me understand what Matlab and Excel need in order to speak civilly with each other? Can you show me how to make this work in Matlab code? Thank you!
  1 Kommentar
Steven
Steven am 12 Dez. 2012
Typing 'help xlsread' and 'help xlswrite' in the command window really should give you all the info you need. For example, the command A=xlsread(name.xlsx) stores all the number of the excel-file name.xlsx in the matrix A.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Vishal Rane
Vishal Rane am 12 Dez. 2012

Community Treasure Hunt

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

Start Hunting!

Translated by