How to build secondary bus along with primary

2 vues (au cours des 30 derniers jours)
Sahaj
Sahaj le 5 Nov 2024
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?

Réponses (1)

Gayatri
Gayatri le 5 Nov 2024
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

Produits


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by