How to build secondary bus along with primary

22 ビュー (過去 30 日間)
Sahaj
Sahaj 2024 年 11 月 5 日 5:43
回答済み: Gayatri 2024 年 11 月 5 日 6:00
I'm working within the Simulink environment and using a primary Bus which includes multiple signals. Now, I want to create a secondary Bus which will contain all the signals from the primary Bus along with several additional signals. I'm looking for a recommended method to build this second Bus. Is there a recognized or straightforward approach in Simulink for accomplishing this?

回答 (1 件)

Gayatri
Gayatri 2024 年 11 月 5 日 6:00
Hi Sahaj,
You can connect the output of the Primary Bus along with the additional signals to the input of the Secondary Bus.
  1. Use a 'Bus Creator' block to form primary bus (bus1) with 'n' input signals.
  2. Then, create secondary bus (bus2) with another 'Bus Creator' block.
  3. Feed it the output from 'bus1' alongside 'm' additional signals you want to include. This results in a bus containing all 'm + n' signals.
Individual signals can still be accessed conveniently through a 'Bus Selector' and can interact with other components, such as a 'Scope Block'.
Please refer the below documentation for Bus Creator:https://www.mathworks.com/help/simulink/slref/buscreator.html

カテゴリ

Help Center および File ExchangeSources についてさらに検索

タグ

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by