Using internal signals for model verification
이전 댓글 표시
Hi all,
I have a top subsystem (top_level)

with child subsystems (child_model1, child_model2) in it.

The goal it to verify that internal_signal (the output of child_model1) matches the output of the top level subsystem, no matter what happens to the internal_signal (i.e., I want to compare them).
At this moment I consider using Observer in order to read the internal_signal (as well as the output signal), and using Propery Proving for the requirement: those signals are always the same, no matter what the combination of input signals is. So the content is the following:

I use this documentation: https://www.mathworks.com/help/sltest/ug/access-model-data-wirelessly-by-using-observers.html
However, I get the model incompatible:
Model contains one or more Observer Reference blocks that are not compatible. Simulink Design Verifier can not analyze this model.

Could anyone help me either with the incompatibility or with other ways of such my verification? Thank you in advance.
I also attach my files: the model and observer. I use 2019b version.
댓글 수: 2
Dmytro Sokol
2024년 4월 2일
Pat Canny
2024년 4월 2일
This reminds me of a utility I created some time ago: https://www.mathworks.com/matlabcentral/fileexchange/116430-formal-functional-equivalence
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Specify and Verify Design Requirements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!