Is it possible to convert a vector signal into a Bus in Simulink 7.2 (R2010a)?
90 views (last 30 days)
Show older comments
I see a "Bus to Vector" block in the Simulink Signal Attributes library, but I do not see a "Vector to Bus" block. Does this functionality exist?
Accepted Answer
MathWorks Support Team
on 23 Mar 2010
There is no "Vector to Bus" functionality in Simulink. The only way to convert a vector signal into a Bus signal is to use a "Demux" block followed by a "Bus Creator" block.
As a workaround, see the attached model "Vector2Bus10a.mdl". Is uses a Masked Subsystem and callbacks in conjunction with the Simulink command line interface to convert a vector signal of any length into a virtual Bus.
0 Comments
More Answers (0)
See Also
Categories
Find more on Interactive Model Editing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!