Filter löschen
Filter löschen

Vector to Bus conversion

20 Ansichten (letzte 30 Tage)
Shiv Nileshkumar Matliwala
Shiv Nileshkumar Matliwala am 22 Sep. 2022
Beantwortet: Pravarthana P am 26 Sep. 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 ??

Antworten (1)

Pravarthana P
Pravarthana P am 26 Sep. 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!!


Mehr zu Subsystems finden Sie in Help Center und File Exchange




Community Treasure Hunt

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

Start Hunting!

Translated by