Process Automation for Simulink Test
A model testing process for testing Simulink® Models
Overview
Process Automation for Simulink Test is an interactive add-on for the Process Advisor app that streamlines and automates verification and validation of Simulink models within Model-Based Design workflows.
The add-on provides a model testing process to streamline the interactive, cross-product workflow of testing a Simulink® model using Simulink® Test™, Simulink® Coverage™, Requirements Toolbox™, and Embedded Coder™. You can use and tailor this workflow to meet your coverage goals, perform back-to-back testing, or help comply with standards such as ISO 26262, DO-178, and ASPICE. This process model leverages the new interactive tasks, assessments, and task guidance introduced in the CI Support Package for Simulink® to guide you through the testing process.
Key Capabilities
- Automated Task Execution: Systematically execute predefined tasks to assess units and components
- Requirements-Based Testing: Verify requirement-to-test traceability and identifies coverage gaps
- Normal and SIL Mode Assessment: Run tests in both Normal and Software-in-the-Loop modes to verify behavior and collect aggregate coverage data
- Translation Validation: Perform back-to-back testing to compare model behavior against generated code
- Interactive Issue Resolution: Create test files, link tests to requirements, create tests for requirements, and resolve coverage gaps directly within the interface
- Customization: Modify the testing process by editing `addProcess.m` to add or remove tasks and to adjust assessment goals
Workflow Subprocesses
- Setup: Define models as Units or Integration Components and specify architecture categories
- Test Authoring: Create test files, configure simulation settings, create tests for requirements, and link tests to requirements
- Model Testing: Execute requirements-based tests in Normal mode. Resolve test failures and coverage gaps to check design compliance
- SIL Testing: Generate code with Embedded Coder and execute tests in SIL mode. Resolve test failures and coverage gaps to check design compliance
- Back-to-Back Testing: Compare outputs between Normal and SIL results to validate translation
Benefits
- Safety Standard Compliance: Assists in fulfilling objectives for ISO 26262, IEC 61508, DO-178C, and EN 50128
- Efficiency: Streamlines identification of unintended functionality before deployment
- Traceability: Maintains one-to-one mapping between units, test files, and requirements
Requirements
MATLAB Version: R2024a - R2025b
Required Products:
- CI Support Package for Simulink - Process Advisor app. Install the support package from the Add-On Explorer.
- Simulink Check™ - Required to install the CI Support Package for Simulink.
- Simulink Test - Author and execute tests and collect assessment information. Open the Model Testing Process by using Simulink Test Manager.
- Embedded Coder® - Generate code prior to executing tests.
- Requirements Toolbox™ - Author and view requirements.
- Simulink Coverage™ - Assess model and code coverage.
Limitations
- Static model and code analysis, PIL, and HIL testing are not covered
- Workflow applies only to models with interface type specified as "Unit"
Cite As
MathWorks Model Verification and Validation Team (2026). Process Automation for Simulink Test (https://www.mathworks.com/matlabcentral/fileexchange/177729-process-automation-for-simulink-test), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2024b
Compatible with R2024a to R2025b
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.5 | Update to MATLAB Release Compatibility |
|
|
| 1.0.4 | Address issue when opening test files containing only one test. |
|
|
| 1.0.3 | - Assessment Unit components are leaf components of task Configure units and components has been removed
|
|
|
| 1.0.2 | Address issue "Error using pasltest.utils.checkInstallation" |
|
|
| 1.0.1 | Minor bug fixes |
|
|
| 1.0.0 | Version 1.0.0 |
|
