Is there a way to get started with Simulink Test Sequence / Test Asessment
조회 수: 4 (최근 30일)
이전 댓글 표시
I have a DUT and test harness built. So now I need to drive the test and measure the results using Test Sequence and Test Assessment. I can't find any helpful examples in the help files as they seem to assume you are reasonably proficient before you start. Coming from a scripting / coding background I am thoroughly confused by the need for a 4 column structure. Step | Transition | Next Step | Description. Having become familiar with Matlab code I am lost with the new Test Assessmet / Sequence block language.
Please can you point me at some very, very simple worked examples.
댓글 수: 0
답변 (1개)
Young Ma
2017년 9월 15일
Hi David,
I understand from your description that you have a model and a test harness built on top of it, and you need to use Test Sequence/Test Assessment to drive testing.
A useful example for this scenario is 'Testing Downshift Points of a Transmission Controller', and the hyperlink is attached below: https://www.mathworks.com/help/sltest/examples/testing-downshift-points-of-a-transmission-controller.html
And an introductory example to start with Test Sequence block is 'Using Waveform Generation Functions', which is attached below: https://www.mathworks.com/help/sltest/examples/using-waveform-generation-functions.html
This example will help you to understand what Step/Transition/Next Step mean. You can also use 'Change Animation Speed' functionality (which is on the toolbar for TS editor dialog) to understand the simulation process for this example.
For more advanced use and resources of Simulink Test products overall, the official documentation page is also attached below: https://www.mathworks.com/help/sltest/index.html
댓글 수: 2
Young Ma
2017년 9월 19일
Hi David,
Thanks for your reply.
Could you elaborate a little bit more about what kind of features you/your customers need in Test Sequence/Assessment to remove the 'hiccups'? The examples I pointed to you were shipped with R2016a and the next major changes in Test Sequence block are expected in R2018a/R2018b.
참고 항목
카테고리
Help Center 및 File Exchange에서 Inputs에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!