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

1 Ansicht (letzte 30 Tage)
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.

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 4 Okt. 2010
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'.

Weitere Antworten (0)

Tags

Noch keine Tags eingegeben.

Community Treasure Hunt

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

Start Hunting!

Translated by