Vector to Bus conversion

18 visualizaciones (últimos 30 días)
Shiv Nileshkumar Matliwala
Shiv Nileshkumar Matliwala el 22 de Sept. de 2022
Respondida: Pravarthana P el 26 de Sept. de 2022
Hello all,
During working on simulink model, I am stuck in one situation that, If I have a vector with around 1000 values. and I want to convert this vector into bus. Then does anyone have any idea how can i do it in simulink model ??

Respuestas (1)

Pravarthana P
Pravarthana P el 26 de Sept. de 2022
Hi Shiv NileshKumar Matliwala,
I understand that you are trying to convert a vector to bus signal in your Simulink model.
A possible workaround is to use a “Demux” block followed by a “BusCreator” block which will convert to bus signal.
You can refer to the attached model "Vector2Bus.slx" which has masked sub-system and callbacks in conjunction with Simulink command line interface. This converts the vector signal of any size to bus signal.
Hope this information helps to resolve your issue!!

Categorías

Más información sobre Subsystems en Help Center y File Exchange.

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by