License MathWorks Products in CI Environments
June 24, 2026 · View on GitHub
Product licensing for your continuous integration (CI) pipeline depends on your project visibility as well as the types of products the pipeline uses:
- Public project — The CI platform integration for MATLAB® automatically licenses all products available to your account, except for transformation products, such as MATLAB Coder™ and MATLAB Compiler™. For a full list of transformation products, see “Transformation Programs” in the Program Offering Guide.
- Private project — The CI platform integration for MATLAB does not automatically license any products for you.
To license products that are not automatically licensed, you can request a MATLAB batch licensing token by submitting the MATLAB Batch Licensing Pilot form. Batch licensing tokens are strings that enable MATLAB to start in noninteractive environments.
Considerations for Batch Token Licensing
If you have products that are not automatically licensed, review the following considerations:
- Batch token licensing is recommended for scalable CI workflows and is the focus of this guide. For other licensing options, contact your license administrator.
- Batch token licensing works well with containers and noninteractive workflows. For a sample Dockerfile that shows how to build and customize a MATLAB container using MATLAB batch token licensing and the MATLAB Package Manager (
mpm), see Create a MATLAB Container Image for Non-Interactive Workflows. - Batch token licensing does not support MATLAB Engine API for Python®. Most Python-based CI workflows require a different licensing option. Contact your license administrator for alternatives.
- Polyspace® products require a dedicated license server that runs on a machine separate from the CI agent.
See Also
- Install MathWorks Products in CI Environments
- Invoke MATLAB in CI Environments
- Run MATLAB in Containers
Copyright 2026 The MathWorks, Inc.