Unit Testing Initialize/Reset Functions in a Simulink Function Test Harness

Hello everyone,
I have designed a simple Simulink Function that I would like to unit test.
Inside this function, I use a state to implement a simple signal-hold behavior. I would now like to verify and test the Initialize Function that is part of this Simulink Function.
Since the Simulink Function itself is quite simple, I would prefer not to create an additional model wrapper just to access the initialize port.
Is there a recommended way to unit test reset and initialize functions for Simulink Functions or subsystems in general, without using a model wrapper?
Best regards,
Fabian

Respuestas (0)

Preguntada:

hace alrededor de 14 horas

Community Treasure Hunt

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

Start Hunting!

Translated by