The SIMULINK Model does not generate the Test Cases
Mostrar comentarios más antiguos
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 comentarios
Pat Canny
el 29 de Oct. de 2019
Hi Srinidhi,
Did you try checking for compatibility before running the analysis? Doing this should show if there are any incompatibilities.
Also, what type of blocks does your model contain? Is it mostly Math library blocks?
This will likely require contacting MathWorks Technical Support.
sri
el 4 de Nov. de 2019
Pat Canny
el 25 de Nov. de 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
Respuestas (0)
Categorías
Más información sobre Simulink Design Verifier en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!