필터 지우기
필터 지우기

Is there a way to get started with Simulink Test Sequence / Test Asessment

조회 수: 4 (최근 30일)
David Devoy
David Devoy 2017년 9월 12일
댓글: Young Ma 2017년 9월 19일
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.

답변 (1개)

Young Ma
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
David Devoy
David Devoy 2017년 9월 19일
Many thanks for your response. I will work my way through the linked examples.
One thing I noted in passing which may be significant is that we are currently working with 2016a as requested by our customer. updating to the latest Matlab version may remove some hiccups.
Young Ma
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 CenterFile Exchange에서 Inputs에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by