Excel and MATLAB connection

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?

回答(1 个)

Rik
Rik 2019-3-13

1 个投票

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.

提问:

2019-3-13

回答:

Rik
2019-3-13

Community Treasure Hunt

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

Start Hunting!

Translated by