Quick Start Using Example Repos
June 24, 2026 · View on GitHub
To quickly get started with running MATLAB® in your CI/CD pipelines, you can fork an example repository that uses MATLAB CI platform integrations provided by MathWorks®. Make sure that you have the listed requirements and then follow the quick-start steps to run the workflow examples.
Key Requirements
To run MATLAB in CI, you need:
- A public repository or a license to use MATLAB in CI in a private repository
- An environment where MATLAB can run, such as a CI agent, a container or packaged artifact, or a remote execution service
- A way to invoke MATLAB noninteractively, such as the
matlab -batchcommand or a MATLAB CI platform integration provided by MathWorks
Quick Start
The provided examples run in public repositories and require minimal setup. For public repositories, MATLAB CI integrations automatically license products for you, except transformation products, such as MATLAB Coder™ and MATLAB Compiler™.
To run MATLAB in a CI pipeline:
- Fork the ci-configuration-examples repository.
- Install the MATLAB extension for your CI platform.
- Create a CI job that automatically runs MATLAB tests.
- Add your own MATLAB code or Simulink® models.
For advanced workflows, use the advanced-ci-configuration-examples repository instead.
See Also
- Continuous Integration with MATLAB on CI Platforms
- Install MathWorks Products in CI Environments
- License MathWorks Products in CI Environments
Copyright 2026 The MathWorks, Inc.