Excel and MATLAB connection

1 view (last 30 days)
Ijaz Ahmed
Ijaz Ahmed on 13 Mar 2019
Answered: Rik on 13 Mar 2019
How can I connect excel and MATLAB so that I don't need to import the excel data every time manually? Also, how ActiveX can be used for this purpose?

Answers (1)

Rik
Rik on 13 Mar 2019
You can use xlsread to read data from Excel in your code. I would avoid the use of ActiveX whenever you can avoid it. You can find some examples of how to use this function in the documentation.

Community Treasure Hunt

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

Start Hunting!