The SIMULINK Model does not generate the Test Cases

5 views (last 30 days)
Hi,
I have a fairly complex SIMULINK Model and trying to have its design verified using the SLDV. I do not see the SLDV generating any test cases. I'm using a script file to invoke these functions to do the job.
Calling tree as below.
generate_tests
| sldvrun
| sldvRunAnalysis
The sldvRunAnalysis always returns a status of -1 which corresponds to Not_Run and which inturn affects the test cases creation in a mat file through the generate_tests function.
The sldvRunAnalysis is MATLAB's own protected function, which does not allow me to step in and debug as to why the status is returned as -1.
I have a .mat file which has attributes printed along with the TestCases. Everytime, after the run there are no TestCases in my mat file.
Also - _replacement.slx model is created due to compatability issues with the SLDV.
Any directions or leads would be very much appreciated !
--SV
  3 Comments
sri
sri on 4 Nov 2019
Thanks Pat !
The model is a large complex one, controlling the dynamics of an automotive wheel. It has multiple levels and has blocks ranging from multi level switches, Logic Ops, Mux , flip-flops. So the model completes the, compatibility ,builds and generates a replacement model and tries to run the SLDV on it.
I also went ahead and tried the below options
(i) Test Suite Optimization setting , maximum delay time, Coverage aspect
(ii) Also tred running the Test Advisor prior to running the Test Case generation
Also tried to have the max delay setting time of 86400 seconds, did not succeed since the SLDV just keeps running forever without any tests.
--SV
Pat Canny
Pat Canny on 25 Nov 2019
Hi SV,
Apologies for the delayed response. I recommend reaching out to MathWorks Support for this. It may require some detailed digging. Are you able to share your model, or some representation of it?
Thanks.
  • Pat

Sign in to comment.

Answers (0)

Categories

Find more on Test Model Components in Help Center and File Exchange

Tags

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!