Design Verifier compatibility with SimEvents blocks

2 vues (au cours des 30 derniers jours)
Nathan Puryear
Nathan Puryear le 27 Mai 2021
Commenté : Pat Canny le 17 Juin 2021
Is it possible to use property proving in the Design Verifier toolbox with a model using SimEvents blocks? I have tried to add a simple verification property within a verification subsystem to an example SimEvents model, but when I try to run the property prover I get the following error: "Building model representation failed: Simulink Messages blocks support only Normal mode simulation."
I did not alter the example model at all, except for adding a verification subsystem:
Inside the verification subsystem, I added a simple property to prove that the number of rejected parts is less than 10:

Réponses (1)

Abdolkarim Mohammadi
Abdolkarim Mohammadi le 29 Mai 2021
Modifié(e) : Abdolkarim Mohammadi le 29 Mai 2021
I haven't used Design verifier with SimEvents blocks, but I think the error message is clear. The model containing SimEvents blocks and Design verifier blocks must be run only in Normal mode, not Accelerated or other modes.
  6 commentaires
Nathan Puryear
Nathan Puryear le 10 Juin 2021
Pat,
So, based on the code generation capabilities, Design Verifier is not compatible with SimEvents blocks? If that is the case, then I think this is solved.
As far as I can tell, changing the solver setting doesn't result in different simulation behavior for the example model.
Thanks,
Nathan
Pat Canny
Pat Canny le 17 Juin 2021
Hi Nathan,
In general, yes: Simulink Design Verifier is not compatible with SimEvents blocks. Apologies again for the confusing error message.
Thanks.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Discrete-Event Simulation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by