Matlab and Jenkins CI
Show older comments
In brief, I'm hoping to take over a matlab project of moderate complexity. The strategy is to unit test. My experience is that continuous integration is a very effective tool for automating these kinds of activities. I've tried to follow this post;
But I'm stuck. Matlab appears to not communicate with any other process which spawns it - I've tried from the command window and I have the same problem. In the blog post, Andrew Campbell is able to print 'hello world' to the jenkins console via the matlab process.
I cannot achieve this, or actually even get the matlab splash info to be displayed in either jenkins or just a pure cmd window. Even using the -nodesktop modifier, it simply spawns it's own custom console rather than using the existing one.
I have matlab R2015a and windows 8.1.
Has anyone successfully setup Jenkins on windows with Matlab? I'm hoping someone can confirm it should be possible possible before I spend more time on it? It's the sort of thing I had hoped would be easy :-(.
Accepted Answer
More Answers (1)
Houman Rastegarfar
on 14 Jul 2023
0 votes
You can install the MATLAB plugin for Jenkins to easily run a MATLAB build, as well as MATLAB tests, scripts, functions, and statements. For more information, see Continuous Integration with MATLAB on Jenkins.
Categories
Find more on Introduction to Installation and Licensing 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!