Unit Testing Initialize/Reset Functions in a Simulink Function Test Harness
Afficher commentaires plus anciens
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
Réponses (0)
Catégories
En savoir plus sur Outputs dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!