Get data from Excel sheet from running .m scripts

1 Ansicht (letzte 30 Tage)
Raymond Cheung
Raymond Cheung am 29 Aug. 2011
I am using Spreadsheet Link Ex. I know how to push data from Excel to Matlab but not the other way round. When I run a .m script, I want the matlab codes to update the data from Excel before calculation. Any example available.

Akzeptierte Antwort

Fangjun Jiang
Fangjun Jiang am 29 Aug. 2011
I have not used Spreadsheet Link for a while. I prefer COM server or using xlsread() and xlswrite(). But here is a link.
  1 Kommentar
Raymond Cheung
Raymond Cheung am 30 Aug. 2011
Hi Fangjun,
Thanks! The function xlsread() works the way I want.
br
raymond

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by