How to save changes done inside Signal spec and routing blocks of a test harness?
8 次查看(过去 30 天)
显示 更早的评论
Changes done in Signal spec and routing blocks of the test harness are always discard when re-opening the harness. Changing the Write/Read permissions I can modify the content of Signal spec and routing blocks inside my harness. However, It seems the harness always loads again the original version. Is there any configuration setting that avoids my chages inside this objects of the harness to be permanent part of the harness?
0 个评论
回答(1 个)
Ruchika Parag
2024-6-26
Hi Maria,
The Signal Specification and routing subsystems (Input and Output Conversion subsystems) ensure that signals passed into the Component Under Test (CUT) comply with the main model. These subsystems enforce the compiled attributes of the CUT inputs and outputs.
Changes to sources and sinks are retained, but other parts adapt to match the main model during synchronization. This ensures compatibility between the harness and the main model.
Note that some source blocks, like Signal Builder, may require additional blocks (e.g., Rate Transition) for proper functionality. These subsystems also help complete Data Store and From-Goto hierarchies and handle virtual bus signals by expanding and merging them as needed.
If you need to define your own rules for input specification, you can create a harness without compiling the model by selecting "Create without compiling the model" under Advanced Properties during harness creation. This makes the Signal Specification and routing subsystems pass-through, but may require additional adjustments to ensure the harness compiles.
For more details, please refer to the documentation:
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Inputs 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!