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

1 view (last 30 days)
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.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 4 Oct 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'.

More Answers (0)

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!