CI/CD Automation for Simulink Check

Simplify adoption and optimize Continuous Integration/Continuous Delivery (CI/CD) workflows for Simulink
1,1K téléchargements
Mise à jour 11 déc. 2024
This new support package 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 the team and CI system.
The support package provides:
  • Customizable process modeling system to define your build and verification process
  • Build system to generate and optimally execute the process in your CI system
  • Process Advisor app to deploy and automate your prequalification process
  • Examples for integration with common CI systems such as Jenkins or GitLab
The support package analyzes your project and generates a Model-Based Design CI/CD 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. You can prequalify your work in Simulink to reduce build failures in CI. If a failure occurs in CI, you can bring the results back into Simulink to reproduce and debug the issue.
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:
The support package requires MATLAB® version R2022a Update 4 and later updates, and requires the use of MATLAB Projects, see Projects.
You can use Process Advisor 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
Limitations:
The incremental build technology and task staleness detection are under active development. Tasks will not become outdated when changing untracked artifacts. See Troubleshoot Missing Tasks, Artifacts, and Dependencies to see the list of untracked artifacts. These limitations are planned to be removed in future updates to the support package. Follow this File Exchange page to be notified of updates.
Version History
Current version for MATLAB R2022a: February 2024, version 22.1.13.
Current version for MATLAB R2022b: June 2024, version 22.2.16.
Current version for MATLAB R2023a: June 2024, version 23.1.16.
Current version for MATLAB R2023b: June 2024, version 23.2.6.
Current version for MATLAB R2024a: June 2024, version 24.1.3.
Compatibilité avec les versions de MATLAB
Créé avec R2022a
Compatible avec les versions R2022a à R2025a
Plateformes compatibles
Windows macOS (Apple Silicon) macOS (Intel) Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!