RF Blockset multiple testbenches

2 Ansichten (letzte 30 Tage)
ToKa
ToKa am 18 Jun. 2021
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?

Akzeptierte Antwort

Kiran Felix Robert
Kiran Felix Robert am 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.

Weitere Antworten (0)

Kategorien

Mehr zu Get Started with RF Blockset finden Sie in Help Center und File Exchange

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by