Data bus Signals in Simulink

As in standard data bus,there are three types of lines: data, address and control. In my simulink model, my subsystem has the three inport lines, I would like to write the three signals simultaneously to the subsystem, each data is written with its corresponding address.
For Example,
Address(16-bit): 8010 8014 8018 801C
Data(32-bit): 00000555 00000000 00000555 00000000
Control(1-bit): ___|---|____|---|____|---|____|---|
How to provide the data bus in Simulink model?
Thanks for any help.

回答(1 个)

Kaustubha Govind
Kaustubha Govind 2012-3-6
编辑:John Kelly 2015-2-26

0 个投票

You can create Simulink Bus signals. See Using Composite Signals.

类别

帮助中心File Exchange 中查找有关 Prepare Model Inputs and Outputs 的更多信息

产品

提问:

Sam
2012-3-6

编辑:

2015-2-26

Community Treasure Hunt

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

Start Hunting!

Translated by