How to build secondary bus along with primary

22 visualizaciones (últimos 30 días)
Sahaj
Sahaj el 5 de Nov. de 2024 a las 5:43
Respondida: Gayatri el 5 de Nov. de 2024 a las 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?

Respuestas (1)

Gayatri
Gayatri el 5 de Nov. de 2024 a las 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

Etiquetas

Productos


Versión

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by