フィルターのクリア

how does the variant sink block work

2 ビュー (過去 30 日間)
Farhad Verahrami
Farhad Verahrami 2018 年 2 月 21 日
tried reading the description provided, but I found it very confusing and I am no where near understanding how this block works.

回答 (1 件)

Vishwanath Bailore Acharya
Vishwanath Bailore Acharya 2018 年 3 月 5 日
Variant sink blocks are mainly used to activate at most one output port during the simulation. Based on the variant condition specified only one block gets activated and the block attached to inactive port will be removed from the simulation.
For example, if the variant for output port 1 is v==1 and for output port 2 is v==2. Then based on the value of 'v' only one of the output block gets activated and other gets removed during simulation.

カテゴリ

Help Center および File ExchangeVariant Hierarchical Components についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by