Get data from Excel sheet from running .m scripts

2 views (last 30 days)
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.

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 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 Comment
Raymond Cheung
Raymond Cheung on 30 Aug 2011
Hi Fangjun,
Thanks! The function xlsread() works the way I want.
br
raymond

Sign in to comment.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!