How to get Bus details from an output port using MATLAB and not Simulink?

3 ビュー (過去 30 日間)
Mohamed Z.
Mohamed Z. 2016 年 4 月 12 日
コメント済み: Mohamed Z. 2016 年 4 月 16 日
I have a model which has input and output ports that are connected to buses internally. How to get the bus info without using Simulink at all? Bus info is the bus structure, depth, hierarchy and data types. In essence a matlab code that does function of data assistant in Simulink without Simulink.

回答 (1 件)

sam0037
sam0037 2016 年 4 月 15 日
Hi,
Following link will help in getting the BUS details programatically:
Hope this helps!!!
  1 件のコメント
Mohamed Z.
Mohamed Z. 2016 年 4 月 16 日
Thank you for your answer. However, as I said, I don't have a bus at hand. It is an output port that is internally connected to a bus in the model. The quetion is how to extract the signal information, and consequently hierarchy, from the output port which comprises a bus signal?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeInteractive Model Editing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by