×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Bus in Simulink

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

RE: Bus in Simulink

can you paste a screenshot of what you have? I don't actually have a BusEelement on this install.

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

(OP)
Hello Greg,

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

LibreOffice opens DOCX files... though not always perfectly. However, it's available for free for various platforms (Windows, Linux, Mac OSX, etc.).

A little off-topic, but good to know nonetheless.

RE: Bus in Simulink

smile so does microsoft word (2007-present i think)

peace
Fe

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources