Troubleshooting Excel COM Interface Issues in Jenkins Workflows
20 views (last 30 days)
Show older comments
MathWorks Support Team
on 18 Jul 2025
Answered: MathWorks Support Team
on 25 Jul 2025
I am using Excel with COM Interface (actxserver) in my Jenkins workflow but am encountering errors. How can I troubleshoot these errors?
Accepted Answer
MathWorks Support Team
on 18 Jul 2025
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 Comments
More Answers (0)
See Also
Categories
Find more on Use COM Objects in MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!