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