Test harness option within references subsystems not visible
2 次查看(过去 30 天)
显示 更早的评论
Hello guys,
why there is no option to build test harnesses within referenced subsystems?
In normal subsystems or referenced models it is possible.
Even when I create a referenced model within a referenced subsystem I have the option available within in the referenced model.
So why this is not possible? I don´t understand the logic behind that.
Thanks in advance.
Best regards.
2 个评论
Benjamin Thompson
2022-2-16
Can you provide an example of your problem? I am not familiar with what a "referenced subsystem" is.
回答(1 个)
ag
2023-12-6
编辑:ag
2023-12-6
Hi Youjar,
I understand that you want to create a test harness for a subsystem block while using it in a Subsystem Reference block.
Currently, the Subsystem Reference block does not support test harnesses for its contents. You may consider creating a library link using Simulink libraries for which the test harnesses can be created.
Please refer to the following documentation for more details on Linked Blocks, https://www.mathworks.com/help/simulink/ug/creating-and-working-with-linked-blocks.html.
The following question answers the same query, https://www.mathworks.com/matlabcentral/answers/1801595-can-you-not-create-test-harnesses-for-subsystems-in-subsystem-reference-models?s_tid=answers_rc1-3_p3_Topic .
Hope this helps!
Best Regards,
Aryan Gupta
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subsystems 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!