RF Blockset multiple testbenches

2 views (last 30 days)
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?

Accepted Answer

Kiran Felix Robert
Kiran Felix Robert on 21 Jun 2021
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.

More Answers (0)

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!