Is there support for testing signal limits in Simulink using the DO Qualification Kit (R2009b+)?

조회 수: 1 (최근 30일)
I am performing DO-178b level 2 verification with Simulink. The test vectors for many reusable company proprietary blocks requires testing signal limits and just outside of those limits. I would like to use eps(single(u(1))) to compute the limit during run-time.

채택된 답변

MathWorks Support Team
MathWorks Support Team 2010년 10월 4일
This calculation can be accomplished using the 'Bias' block found under Simulink >> Math Operations.
Setting the bias to 'eps(realmax('single'))' will check values higher than the actual value, while using '-eps(realmax('single'))' will check values lower than the actual value. See the attached model 'TS_sample.mdl'.

추가 답변 (0개)

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by