Problem with setting a model parameter for Design Verifier
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Sven-Eric Krüger
el 27 de Abr. de 2017
Respondida: Deepak
el 9 de Nov. de 2017
I generate a model programatically and want to set parameters regarding the Design Verifier.
new_system('harness')
...
set_param('harness', 'DVDetectOutOfBounds', 'on');
This produces the following error:
Error using PerformCheck (line 16)
block_diagram does not have a parameter named 'DVDetectOutOfBounds'
My question in detail is now: How do I programatically attach the options or parameters of the Design Verifier to a model?
0 comentarios
Respuesta aceptada
Deepak
el 9 de Nov. de 2017
The parameters related to Simulink Design Verifier can be changed programmatically using sldvoptions.
For example:
opts =sldvoptions;
opts.Mode = ‘DesignErrorDetection’;
opts.DetectOutOfBounds = 'on'
The following documentation page provides you more information about programming sldv parameters:
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Best Practices for Simulink Design Verifier Analysis 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!