How to run excel macro via MATLAB on another pc

4 ビュー (過去 30 日間)
Mohammad Azadi Tabar
Mohammad Azadi Tabar 2022 年 11 月 9 日
編集済み: Mohammad Azadi Tabar 2022 年 11 月 17 日
I would like to run different excel macros on different computers via MATLAB on the main computer, then gathering all those data.

採用された回答

Vijay
Vijay 2022 年 11 月 17 日
Link 1 demonstrates how you can do it on a local machine.
In order to do it on a remote computer you need to modify the call to actxserver function and make some changes in setting in your master machine as well as slave machines.
The changes that need to be done are given in Link 2.
The modifies call is
%code
ExcelApp = actxserver('Excel.Application',’ip_of_slave’);
Link 1:
Link 2:
Hope that helps!

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Export to MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by