how can i access signals on a bus in simulink ?

1 回表示 (過去 30 日間)
Gabriela
Gabriela 2013 年 10 月 24 日
編集済み: Gabriela 2013 年 10 月 27 日
I'he tried to read some signals in simulink , but one of them is a bus and it display a error. And don't have permission to change the simulink block
the bus is virtual one, and it is inside of one subblock on low level, which outputs the data into a big one..(I have like 7 levels ) and I don't have permission to modify the block,..i have to test only the outputs of the entire block .

回答 (1 件)

A Jenkins
A Jenkins 2013 年 10 月 25 日
編集済み: A Jenkins 2013 年 10 月 25 日
Use the "Bus Selector" block to get the signals you are interested in.
From the documentation:
Bus Selector: Select signals from incoming bus
Library: Signal Routing
Description: The Bus Selector block outputs a specified subset of the elements of the bus at its input. The block can output the specified elements as separate signals or as a new bus.

カテゴリ

Help Center および File ExchangeSources についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by