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

1 visualizzazione (ultimi 30 giorni)
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.

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 4 Ott 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'.

Più risposte (0)

Tag

Non è stata ancora inserito alcun tag.

Community Treasure Hunt

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

Start Hunting!

Translated by