Get data from Excel sheet from running .m scripts

1 vue (au cours des 30 derniers jours)
Raymond Cheung
Raymond Cheung le 29 Août 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.

Réponse acceptée

Fangjun Jiang
Fangjun Jiang le 29 Août 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 commentaire
Raymond Cheung
Raymond Cheung le 30 Août 2011
Hi Fangjun,
Thanks! The function xlsread() works the way I want.
br
raymond

Connectez-vous pour commenter.

Plus de réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by