CI/CD Automation for Simulink Check
Optimize CI/CD workflows for Simulink
1.4K 次下载
更新时间
2025/5/14
The CI Support Package for Simulink helps you adopt and optimize Continuous Integration / Continuous Delivery (CI/CD) Workflows for Model-Based Design. With it you can address common challenges including setting up a pipeline tailored for Model-Based Design, reducing build time, reducing build failures, debugging build failures, and deploying a Model-Based Design workflow to your team and CI system.
The support package provides:
- Customizable process modeling system to define your build and verification process
- Build system to generate a pipeline of tasks and perform optimized builds in your CI system
- Process Advisor app to deploy and automate your prequalification process
- Integration with CI systems such as Jenkins, GitLab, GitHub Actions, and Azure DevOps
The support package analyzes your project and generates a Model-Based Design pipeline based on your own process definition. You can reduce build times by performing optimized builds in popular CI systems such as Jenkins or GitLab. Prequalification of your work in Simulink can help minimize build failures within the CI environment. In the event of a failure in CI, results can be imported back into Simulink to reproduction and debugging purposes.
This package is under active development, please share your insight, questions, and experiences to aid future updates by contacting us at continuous-integration@mathworks.com.
Prerequisites:
CI Support Package for Simulink requires MATLAB® version R2022a Update 4 or later, Simulink Check, and the use of MATLAB Projects, see Projects.
You can use Process Advisor app on your desktop without a CI system.
To integrate the build system provided in this support package into your CI/CD system, you first need to configure your CI system to run MATLAB and Simulink products. For an example on how configure Jenkins and GitLab, see Continuous Integration for Verification of Simulink Models. For information on the supported platforms, see Continuous Integration with MATLAB on CI Platforms.
Documentation:
Getting Started:
You can install this support package from Add-On Explorer or by downloading from File Exchange. If downloading from File Exchange, double click the .mlpkginstall file to begin the installation. If you receive an error about the support package not being compatible with your version of MATLAB but you have R2022a installed, then check that the .mlpkginstall file is associated with MATLAB R2022a.
The Process Advisor app runs on MATLAB projects. Process Advisor can be opened for an existing model in your project or the project itself. To open for an existing model in a project, on the Apps tab of the model, under Model Verification, Validation, and Test, click Process Advisor, see the image below.
To open for a project, click Process Advisor app on the Project tab, see image below:
An example project is provided to demonstrate the capabilities of Process Advisor. To open the project, MATLAB command line with the command:
>>processAdvisorExampleStart
Documentation:
Version History
Current version for MATLAB R2022a: February 2024, version 22.1.13.
Current version for MATLAB R2022b: July 2024, version 22.2.17.
Current version for MATLAB R2023a: February 2025, version 23.1.23.
Current version for MATLAB R2023b: April 2025, version 23.2.14.
Current version for MATLAB R2024a: April 2025, version 24.1.11.
Current version for MATLAB R2024b: April 2025, version 24.2.6.
Current version for MATLAB R2025a: May 2025, version 25.1.
MATLAB 版本兼容性
创建方式
R2022a
兼容 R2022a 到 R2025a 的版本
平台兼容性
Windows macOS (Apple 芯片) macOS (Intel) Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!