Unit Testing Initialize/Reset Functions in a Simulink Function Test Harness
Show older comments
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
Answers (0)
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!