How to use SDV for debugging a Simulink Model

Hi,
I am currently working with SDV, and I understand how to use it to generate test cases (i.e., pairs of inputs and outputs).
Is there some option or workflow in SDV that allows us to add some kind of test points or breakpoints ( i.e., blocks or signals that I want to know their value for each test case) to the model, so that when it generates test cases, it also generates the values of these test points for each test case ?
In other words, for some test point x in some model, I'd like to leverage SDV to generate test cases that convey the following info:
TEST INPUT 1, TEST OUTPUT 1, VALUE OF TEST POINT FOR TEST CASE 1
TEST INPUT 2, TEST OUTPUT 2, VALUE OF TEST POINT FOR TEST CASE 2 ...etc
Any leads on how to achieve this ?
Thanks a lot !!

4 件のコメント

Pat Canny
Pat Canny 2019 年 10 月 29 日
Hi Gehan,
Did you try logging those test point signals when simulating the generated tests? It sounds like you are interested in signal logging.
Gehan Selim
Gehan Selim 2019 年 11 月 14 日
Thanks a lot Pat, that was very helpful !
Pat Canny
Pat Canny 2019 年 11 月 25 日
Hi Gehan,
Did this answer your question? If so, I'd be happy to formally respond so that we can close this question.
Thanks.
  • Pat
Gehan Selim
Gehan Selim 2019 年 11 月 25 日
Yes, that was definitely useful, Patt..
Thanks a lot !

サインインしてコメントする。

回答 (0 件)

カテゴリ

製品

リリース

R2019a

質問済み:

2019 年 10 月 23 日

コメント済み:

2019 年 11 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by