HomeCompanyProductsServicesDownloadContactCareer

MATLAB/Simulink® Testing using TPT

TPT offers unique and all-encompassing support for testing MATLAB/Simulink®/Stateflow- and TargetLink® models. The strengths of both systems can be used because of the perfectly tuned interface between TPT and MATLAB/Simulink. Functional models are created normally in MATLAB/Simulink®, Stateflow and TargetLink®. Then the associated test models are created in TPT. The integration feature of TPT with MATLAB/Simulink® ensures an efficient execution and an effective test process. Simulink Model testing, TargetLink testing

Key-features of Simulink support

  • Full support of MATLAB/Simulink® 6.1 to 2010a
  • Full support of TargetLink® 1.3 to 3.1
  • Automatic interface analysis
  • Automatic generation of the test-frame models
  • Measurement of model-internal Simulink- or TArgetLink-Signals during Simulation.
  • Using MATLAB M-scripts for advanced test assessment.
  • Comparison of test results through Back-to-Back-Analysis
  • Flexible configuration options by way of M-script support
  • Bi-directional exchange of parameters
  • Reusability of tests between MiL, SiL, PiL and HiL

Model and interface analysis

In order to make the test models simple to create and easy to reuse, TPT extracts the interface information for the functional models and inserts this into the test model. TPT takes the subsystem model to be tested, automatically handles the interfacing and analysis of complex signals, the vectors, busses, multiplexer. The TPT interfaces can also be manually adapted or corrected if necessary.

Test-frame generation

Simulink/TargetLink test model
TPT requires a test-frame model for test execution which contains a copy of the complete sub system behaviour and a special TPT execution engine. The creation of the TPT test-frame model is completely automatic, if desired.

Test execution in Simulink

All aspects of test execution management are handled by TPT. This means that TPT starts the appropriate version of MATLAB with required system components and loads the complete MATLAB models necessary for test execution. Afterwards TPT exchanges model parameter binding with MATLAB. In this way all the parameters in the MATLAB model can be accessed in the TPT test model and modified for each and every test case. Afterwards TPT selects and executes the appropriate test cases and handles the logging of all signals relevant to the test in order to automatically evaluate the results and include the data in the test report. Test execution control for MATLAB tests is managed by TPT and complex tests can be executed unattended in batch mode.

Automatic Simulink test execution
Impressum

Sitemap