RF Blockset multiple testbenches

2 visualizzazioni (ultimi 30 giorni)
ToKa
ToKa il 18 Giu 2021
Risposto: Kiran Felix Robert il 21 Giu 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?

Risposta accettata

Kiran Felix Robert
Kiran Felix Robert il 21 Giu 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.

Più risposte (0)

Categorie

Scopri di più su Get Started with RF Blockset in Help Center e File Exchange

Prodotti


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by