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

1 visualización (últimos 30 días)
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.

Respuesta aceptada

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

Más respuestas (0)

Etiquetas

Aún no se han introducido etiquetas.

Community Treasure Hunt

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

Start Hunting!

Translated by