How to prevent simulink requirements linked to subsystem references from generating requirement links in models which include the subsystem references.
1 回表示 (過去 30 日間)
古いコメントを表示
I'm using a build toolchain which doesn't work with model references. Therefor to modularise the code I have chosen subsystem references spec'd as atomic and with strong typing enforced at the interfaces ports to get as close as possible to a model reference.
Each subsystem reference has requirements linked to the code. The problem I have is that simulink keeps creating dubplicate link sets to the code inside the subsystem reference in the main model. Is there a way to stop this happening.
0 件のコメント
回答 (1 件)
Ayush
2023 年 11 月 28 日
Hi Duncan,
I understand that you want to avoid duplicating the link sets to the code for your subsystem reference.
A possible workaround for this is to use the “Requirements Management Interface (RMI)” to link the desired requirements for you model to a particular subsystem reference block. You can configure the RMI to store the requirement links externally to preserve modularity and disable the option to duplicate links for your desired output. Please see the screenshot attached below:
Please refer to the below documentation to know more about the “Managing Requirements Without Modifying Simulink Model Files”:
Additionally, you can also refer to the below documentation to know more about requirement links and their functioning with regards to reference blocks:
Hope it helps,
Regards,
Ayush Misra
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!