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

1 visualizzazione (ultimi 30 giorni)
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.

Risposte (1)

Young Ma
Young Ma il 15 Set 2017
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 Commenti
David Devoy
David Devoy il 19 Set 2017
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 il 19 Set 2017
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.

Accedi per commentare.

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by