Bus in Simulink
Bus in Simulink
(OP)
Hello,
I am a begginer in simulink and I am trying to pass a structure from one block to another block.
My first approach is utilizing a bus to send the structure from the first block to the second one, but I do not know how to connect both blocks with a bus. Every time I connect them, it appears an only cable. I gave a name to the cable and I tried to use "Simulink.BusElement". I changed the dimensions to 5, but it happens nothing.
Thank you very much in advance for your time.
Best regars,
wasomix
I am a begginer in simulink and I am trying to pass a structure from one block to another block.
My first approach is utilizing a bus to send the structure from the first block to the second one, but I do not know how to connect both blocks with a bus. Every time I connect them, it appears an only cable. I gave a name to the cable and I tried to use "Simulink.BusElement". I changed the dimensions to 5, but it happens nothing.
Thank you very much in advance for your time.
Best regars,
wasomix
RE: Bus in Simulink
you need input and output lines, a bus creator, which multiplexes the signals, and a bus selector, which demuxes them. The latter two blocks control the dimension of the bus, the bus itself is just a connector.
you may find Bus to vector is a more useful block.
Cheers
Greg Locock
New here? Try reading these, they might help FAQ731-376: Eng-Tips.com Forum Policies http://eng-tips.com/market.cfm?
RE: Bus in Simulink
thank you very much for your quick answer.
in Picture 1, I have both blocks and I have connected them with a wire, but I do not know if the wire behaves as a bus. The name of the wire is "a".
in Picture 2, I have used Simulink.BusElement(I think is a class), and I have changed the value of "Dimensions" per 5.
I do not know if I am actually using a bus to connect both blocks or a wire.
Best regards, wasomix
RE: Bus in Simulink
i can't read docx
Cheers
Greg Locock
New here? Try reading these, they might help FAQ731-376: Eng-Tips.com Forum Policies http://eng-tips.com/market.cfm?
RE: Bus in Simulink
A little off-topic, but good to know nonetheless.
RE: Bus in Simulink
Fe
RE: Bus in Simulink
htt
If you aren't using Word, this is a meaningless message.