Thursday, September 24, 2026
HomeMatlabCI, for instance

CI, for instance


Howdy everybody, it has been a very long time! I’m excited to resurrect the dialog a bit right here as a result of now we have quite a few subjects which might be within the pipeline. Really, there have all the time been loads of subjects within the ol’ weblog pipeline, however the excellent news now’s that we even have been in a position to sit down and write a few of them.

Over the subsequent short while Ajay Puvvala will probably be publishing a sequence of posts associated to some thrilling options now we have in MATLAB round check choice. Tremendous thrilling stuff so make sure to preserve a watch out for these.

Whilst you wait, I additionally wished to rapidly plug a few GitHub repositories that we have printed to assist together with your CI workflows.

Contents

The best config that works

First, if you wish to simply rise up and going in your CI platform with the best of configs, check out the CI Configuration Examples repository. This reveals a primary “Howdy World!” instance for GitHub® Actions, GitLab® CI/CD, Jenkins&commerce;, Azure® DevOps, and CircleCI®. You’ll be able to go there proper now, fork it, and instantly use cloud hosted runners on GitHub, Azure DevOps, or CircleCI to see the CI course of in motion. Word, GitHub makes it significantly straightforward as a result of Actions are simply constructed into GitHub itself.

(Barely) extra superior configurations

Moreover, for these on the lookout for extra superior configurations, take a look at the Superior CI Configuration Examples repository. This contains extra complicated setups and finest practices for integrating MATLAB with these CI/CD instruments. On this repository you’ll at the moment discover two workflows which might be demonstrated on 4 CI platforms: GitHub Actions, Azure DevOps, Jenkins, and CircleCI.

Multi-platform Toolbox Creation

The primary instance goes by the construct of a MATLAB toolbox throughout 3 platforms to provide and launch a single .mltbx file. This workflow at the moment reveals:

  • The best way to use a matrix construct throughout platforms (Linux, Home windows, and Mac)
  • Constructing platform particular mex recordsdata
  • Importing these artifacts on every
  • Retrieving the constructed mex recordsdata for every platform and packaging the toolbox
  • Publishing the toolbox to a GitHub launch for distribution

Multi-release deployment to combine with Python®

The second instance reveals how one can leverage the MATLAB Compiler SDK&commerce; to create a python package deal from this algorithm. It does this throughout releases and working programs. Some highlights of this workflow:

  • A double matrix construct (throughout MATLAB releases and working programs)
  • Creation and deployment of a python package deal from the MATLAB code utilizing Compiler SDK
  • Equivalence testing of the deployed algorithm utilizing MATLAB Take a look at
  • Utilizing batch tokens for licensing of MATLAB Compiler SDK on cloud hosted runners. Whereas licensing of many MathWorks merchandise is supplied for public initiatives, batch tokens let you leverage different merchandise not supported (like Coders and Compilers). Additionally they allow you to leverage CI for personal initiatives.

It is nice to be again! Keep tuned for extra and we would love to listen to how you might be doing and what you’d prefer to be taught extra about!

<!–
perform grabCode_926d43d8b90b4d5a9eadbd68596b9931() {
// Bear in mind the title so we will use it within the new web page
title = doc.title;

// Break up these strings in order that their presence
// within the Javascript doesn't mess up the seek for
// the MATLAB code.
t1='926d43d8b90b4d5a9eadbd68596b9931 ' + '##### ' + 'SOURCE BEGIN' + ' #####';
t2='##### ' + 'SOURCE END' + ' #####' + ' 926d43d8b90b4d5a9eadbd68596b9931';

b=doc.getElementsByTagName('physique')[0];
i1=b.innerHTML.indexOf(t1)+t1.size;
i2=b.innerHTML.indexOf(t2);

code_string = b.innerHTML.substring(i1, i2);
code_string = code_string.exchange(/REPLACE_WITH_DASH_DASH/g,'–');

// Use /x3C/g as a substitute of the less-than character to keep away from errors
// within the XML parser.
// Use 'x26#60;' as a substitute of '<' in order that the XML parser
// doesn't go forward and substitute the less-than character.
code_string = code_string.exchange(/x3C/g, 'x26#60;');

copyright = 'Copyright 2025 The MathWorks, Inc.';

w = window.open();
d = w.doc;
d.write('

n');
        d.write(code_string);

        // Add copyright line on the backside if specified.
        if (copyright.size > 0) {
            d.writeln('');
            d.writeln('%%');
            if (copyright.size > 0) {
                d.writeln('% _' + copyright + '_');
            }
        }

        d.write('

n’);

d.title = title + ‘ (MATLAB code)’;
d.shut();
}
–>


Get
the MATLAB code (requires JavaScript)

Revealed with MATLAB® R2025a

<!–
926d43d8b90b4d5a9eadbd68596b9931 ##### SOURCE BEGIN #####
%%
% Howdy everybody, it has been a very long time! I’m excited to resurrect the
% dialog a bit right here as a result of now we have quite a few subjects which might be in
% the pipeline. Really, there have all the time been loads of subjects within the
% ol' weblog pipeline, however the excellent news now’s that we even have been
% in a position to sit down and write a few of them.
%
% Over the subsequent short while Ajay Puvvala will probably be publishing a sequence of
% posts associated to some thrilling options now we have in MATLAB round check
% choice. Tremendous thrilling stuff so make sure to preserve a watch out for these.
%
% Whilst you wait, I additionally wished to rapidly plug a few GitHub
% repositories that we've printed to assist together with your CI workflows.
%
%% The best config that works
% First, if you wish to simply rise up and going in your CI platform with the
% easiest of configs, check out the
% repository. This reveals a primary “Howdy World!” instance for
% GitHub(R) Actions, GitLab(R) CI/CD, Jenkins(TM), Azure(R) DevOps, and
% CircleCI(R). You’ll be able to go there proper now, fork it, and instantly use
% cloud hosted runners on GitHub, Azure DevOps, or CircleCI to see the CI
% course of in motion. Word, GitHub makes it significantly straightforward as a result of
% Actions are simply constructed into GitHub itself.
%
% <>
%
%
%% (Barely) extra superior configurations
% Moreover, for these on the lookout for extra superior configurations, take a look at the
% repository. This contains extra complicated setups and finest practices
% for integrating MATLAB with these CI/CD instruments. On this repository you
% will at the moment discover two workflows which might be demonstrated on 4 CI
% platforms: GitHub Actions, Azure DevOps, Jenkins, and CircleCI.
%
% <>
%
%% Multi-platform Toolbox Creation
% The primary instance goes by the construct of a MATLAB toolbox throughout 3
% platforms to provide and launch a single *|.mltbx|* file. This workflow
% at the moment reveals:
%
% * The best way to use a matrix construct throughout platforms (Linux, Home windows, and Mac)
% * Constructing platform particular mex recordsdata
% * Importing these artifacts on every
% * Retrieving the constructed mex recordsdata for every platform and packaging the
% toolbox
% * Publishing the toolbox to a GitHub launch for distribution
%
%% Multi-release deployment to combine with Python(R)
% The second instance reveals how one can leverage the MATLAB Compiler SDK(TM)
% to create a python package deal from this algorithm. It does this throughout
% releases and working programs. Some highlights of this workflow:
%
% * A double matrix construct (throughout MATLAB releases and working programs)
% * Creation and deployment of a python package deal from the MATLAB code utilizing
% Compiler SDK
% * Equivalence testing of the deployed algorithm utilizing
%
% * Utilizing
% for licensing of MATLAB Compiler SDK on cloud hosted
% runners. Whereas licensing of many MathWorks merchandise is supplied for public
% initiatives, batch tokens let you leverage different merchandise not supported
% (like Coders and Compilers). Additionally they allow you to leverage CI for
% personal initiatives.
%
% It is nice to be again! Keep tuned for extra and we would love to listen to the way you
% are doing and what you’d prefer to be taught extra about!
##### SOURCE END ##### 926d43d8b90b4d5a9eadbd68596b9931
–>

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments