RF Blockset multiple testbenches

조회 수: 2 (최근 30일)
ToKa
ToKa 2021년 6월 18일
답변: Kiran Felix Robert 2021년 6월 21일
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