what is advantage of Mux over Bus in Simulink?

37 views (last 30 days)
why to use Mux when Bus is providing all the advantages (e.g element reordering etc.).And also Mux is generated in the form of structure in the generated autocode

Answers (1)

Swarooph
Swarooph on 20 Oct 2016
Edited: Swarooph on 20 Oct 2016
In general a Mux is easier to setup/use compared to a bus. However, which one you should use really depends on what your use case is. Take a look a this answer which compares Mux and bus. Note that the doc links in that answer refer to release R2012b but the concepts explained there should still hold.

Tags

Community Treasure Hunt

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

Start Hunting!