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
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Outputs 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!