Answered
Design verifier :run all and produce coverage for a sldvmakeharness created model
Hi Jiahao, I recommend using sldvrun to generate tests with Design Verifier, then sldvruntest to run the tests and cvhtml to ...

4 years ago | 0

| accepted

Answered
Simulink Block not executed
Hi Ajay, The coverage report should show the decision coverage achieved for that block. I assume the block you are referring ...

4 years ago | 0

| accepted

Answered
Retrieve child coverage results from parent model
Hi Luis, Thanks for your question. You are correct in that the signal range coverage is not collected for model outputs. The...

4 years ago | 1

Answered
How can I input expected output values for a signal to simulink design verifier and generate tests with it?
Hi Xinkun, Thank you for your question. I recommend you use a Test Objective block, which you can use to define a desired ...

4 years ago | 0

Answered
Don't know why SLDV checks compatibility fail
Hi galaxy, I spoke with the SLDV Development team. This may be due to an internal error within the tool. It will require re...

5 years ago | 0

Answered
How do I extract all rows of a struct field that is a character array?
First, try to avoid using character arrays. Convert them to string arrays. Second, you need to use the {curly brace syntax} to ...

5 years ago | 5

| accepted

Question


How do I extract all rows of a struct field that is a character array?
I want to extract all rows of a field within a struct. The field is a character array. For sake of example, the struct is calle...

5 years ago | 1 answer | 1

1

answer

Answered
2019b toolbox verification
As Walter already answered, the Simulink Verification and Validation product was split into three products. The Simulink Veri...

5 years ago | 0

Question


How do I check for unresolved requirements links programmatically?
I would like to check for any "bad" requirements implementation links as part of a Continuous Integration (CI) workflow. For ex...

5 years ago | 1 answer | 0

1

answer

Answered
How do I check for unresolved requirements links programmatically?
This can be accomplished using the isResolved method within the slreq.Link class. You can also use the isResolvedSource and i...

5 years ago | 0

| accepted

Answered
How do I create a coverage filter for all Simulink blocks with a given Tag?
One way to do this is to use find_system to build a list of all Simulink blocks with a given tag. Then, you can use BlockSelect...

5 years ago | 0

| accepted

Question


How do I create a coverage filter for all Simulink blocks with a given Tag?
I would like to create a model coverage filter for all Simulink blocks with a given Tag. I didn't see a way to do this with the...

5 years ago | 1 answer | 0

1

answer

Answered
How do I import a test harness with an existing model reference?
One way to do this is through sltest.harness.import, which allows you to import a stand-alone model as a test harness model. If...

5 years ago | 0

| accepted

Question


How do I import a test harness with an existing model reference?
I accidentally "disassociated" a test harness model with its parent model. What is the easiest way to re-associate the harness m...

5 years ago | 1 answer | 0

1

answer

Answered
Simulink Design Verifier Support
Hi Logan, Apologies for the delay in my response (I was away on leave and my MATLAB Answers RSS feed is somehow broken). Thi...

5 years ago | 0

Answered
Why is a Simulink Check license checked out when I open a model?
This is likely due to Edit-Time Checking being enabled on the model. If the model has been saved with Edit-Time Checking enabled...

5 years ago | 0

| accepted

Question


Why is a Simulink Check license checked out when I open a model?
I noticed that when I open certain models, a Simulink Check license ('sl_verification_validation') is immediately checked out. I...

5 years ago | 1 answer | 0

1

answer

Answered
How do I get a list of a Simulink block's parameters?
This can be accomplished using 'ObjectParameters'. Here is an example from the Simulink Documentation: load_system('vdp') Mo...

5 years ago | 0

| accepted

Question


How do I get a list of a Simulink block's parameters?
I like to use get_param and set_param on model blocks - how do I get a list of a given block's parameters?

5 years ago | 1 answer | 0

1

answer

Answered
Simulink Design Verifier Expected Output missing
You should see the expected outputs in the sldvData.TestCases.expectedOutput field (from the .mat file). It should be an array o...

5 years ago | 0

Answered
Why am I getting "Error using bar (line 127) Input arguments must be numeric, datetime, duration or categorical"?
You are using parentheses where you should be using curly braces. To access the content of the table, use curly braces. Here's ...

6 years ago | 2

| accepted

Question


Why am I getting "Error using bar (line 127) Input arguments must be numeric, datetime, duration or categorical"?
I am trying to create a stacked bar chart of revenue data by fiscal quarter using data from a table. The data I want to plot is ...

6 years ago | 1 answer | 0

1

answer

Answered
Simulink Design Verifier Test Generation Internal Error
Hi Davide, Thanks for following up on the error. Regarding your question about large model support, what do you mean by "doe...

6 years ago | 1

Answered
What is the difference between sldvruntest and slvnvruntest?`
Hi Davide, sldvruntest and slvnvruntest are functionally equivalent. I just confirmed this with MathWorks Development. sldvr...

6 years ago | 1

| accepted

Answered
aggregate coverage data for multiple unit test models
Hi Han, That is correct. When trying to use the + operator on cvdata from different models, you will get an error. I rec...

6 years ago | 0

| accepted

Answered
Simulink Design Verifier Test Generation Problem
Hi Davide, Thanks for your question. I recommend you contact MathWorks Support, as your issues may require an example mode...

6 years ago | 0

Answered
How to use Simulink Design Verifier on export-function models?
In R2018b, Simulink Design Verifier now supports analysis of export-function models in a more automated way. See this page in ou...

6 years ago | 0

Answered
Can I insert an animated GIF into a Live Script?
Yes, the Live Editor supports animated GIFs. Simply insert the GIF as an image via: Insert -> Image. The GIF should automaticall...

6 years ago | 3

| accepted

Question


Can I insert an animated GIF into a Live Script?
I'm creating a set of instructions in a Live Script for users to follow in order to navigate an example built as a Simulink Proj...

6 years ago | 1 answer | 2

1

answer

Answered
Is it possible to buy MATLAB and Simulink as a Network Named User License and the Toolbox Simulink Check, Coverage and Requirements as a Concurrent License?
Hi Chris, Thanks for your question. I recommend that you contact MathWorks <https://www.mathworks.com/company/aboutus/cont...

6 years ago | 0

Load more