Is there a way to get started with Simulink Test Sequence / Test Asessment
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Young Ma
el 15 de Sept. de 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 comentarios
Young Ma
el 19 de Sept. de 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.
Ver también
Categorías
Más información sobre Inputs en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!