This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Model-Based Testing

Manage component test data, execute test suite in SIL or PIL simulation, configure Model Verification blocks

Analyze and simulate referenced models, subsystems, or atomic subcharts in a model. Isolate a subsystem or a referenced model for testing by extracting it into a harness model. Monitor time-domain signals in your model during simulation, according to specifications that you assign to blocks. Construct signal verifications, and selectively apply them based on the simulation input group.


slvnvlogsignals Log test data for component or model during simulation
slvnvmergedata Combine test data from data files
slvnvmakeharness Generate Simulink Verification and Validation harness model
slvnvharnessopts Generate default options for slvnvmakeharness
slvnvmergeharness Combine test data from harness models
slvnvruntest Simulate model by using input data
slvnvruncgvtest Invoke Code Generation Verification (CGV) API and execute model
slvnvruntestopts Generate simulation or execution options for slvnvruntest or slvnvruncgvtest
slvnvextract Extract subsystem or subchart contents into new model
slwebview_cov Export Simulink models to Web views with coverage
slwebview_req Export Simulink system to Web views with requirements


Component Verification

Strategies for verifying functional units of your model, in isolation or in the context of a larger system.

Verify Generated Code for a Component

Verify unit-level generated code of a larger system, by comparing results of the model simulation and software-in-the-loop simulation.

Construct Simulation Tests Using the Verification Manager

Create a Simulink® model to examine the Verification Manager.

Featured Examples

Was this topic helpful?