RF Blockset multiple testbenches

2 次查看(过去 30 天)
Hello,
I'd like to have two s-parameter testbenches on a simulink simulation. But when I simulate, the following error occurs:
"Two Terminate Function blocks '.../S-Parameter Testbench/Terminate Function' and '.../S-Parameter Testbench1/Terminate Function' are at the same non-virtual hierarchical level."
How can I simulate with two testbenches?

采纳的回答

Kiran Felix Robert
Kiran Felix Robert 2021-6-21
Hi ToKa,
The S-Parameter Testbench block contains the Terminate Function Block in its first hierarchy level.
Follow the steps to Look under the S-Parameter Testbench block's mask,
Right-Click on S-Parameter Testbench Block -> Locked Library Link -> Go To Library Block -> Right-Click on S-Parameter Testbench Block on the Library -> Look under Mask
The terminate function block executes when the model is in termination stage to store state values.
While using multiple S-Parameter Testbench blocks in the same level of a model, there are multiple Terminate Function blocks in the same hierarchy, which causes a redundancy issue.
To solve this issue, the S-Parameter Testbenches can be grouped separately as atomic subsystems (one Block per Subsystem) which will resolve the redundancy.
To Group as an Atomic Subsystems,
Select all the blocks which are to be grouped > Right-Click > Create Subsystem from Selection > Right-Click on the newly created Subsystem > Block Parameters > Check the Checkbox on Treat as Atomic Unit.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Collect Coverage for Models 的更多信息

产品


版本

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by