I am using Excel with COM Interface (actxserver) in my Jenkins workflow but am encountering errors. How can I troubleshoot these errors?

 採用された回答

MathWorks Support Team
MathWorks Support Team 2025 年 7 月 18 日

0 投票

To troubleshoot errors related to Excel with COM Interface in Jenkins workflows, please follow the steps in this article: Why do Jenkins builds with MATLAB fail on a Windows machine?
If that doesn’t resolve the issue, please run this PowerShell script in Jenkins, to determine if the issue is independent of MATLAB.
$excel= New-Object -ComObject excel.application $excel.visible = $true $wb = $excel.Workbooks.Open("<full path to file>") $excel.quit()

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Use COM Objects in MATLAB についてさらに検索

製品

リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by