What is the difference between the Mux (Demux) and Bus Creator (Bus Selector) blocks in Simulink?
76 views (last 30 days)
Show older comments
MathWorks Support Team
on 16 Jul 2013
Edited: MathWorks Support Team
on 29 Aug 2024
I would like to know the differences between using a mux signal and a bus signal.
Accepted Answer
MathWorks Support Team
on 29 Aug 2024
Edited: MathWorks Support Team
on 29 Aug 2024
Use Virtual Buses to group signals or messages together. They give you flexibility to group elements of different types and complexity, and let you access elements by name instead of by index. If you have strict code generation requirements for your composite signal, use Nonvirtual buses instead.
MathWorks recommends you use Mux only to group function-call signals.
For more information, see
0 Comments
More Answers (0)
See Also
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!