Troubleshooting Excel COM Interface Issues in Jenkins Workflows
18 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2025-7-18
回答: MathWorks Support Team
2025-7-25
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
2025-7-18
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Use COM Objects in MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!