How to call structure value in simulink?

2 ビュー (過去 30 日間)
Arun Badigannavar
Arun Badigannavar 2013 年 2 月 25 日
> Test_Structure
Test_Structure =
a: [10 20 30]
b: [50 60 70]
>> how to call above structure into simulink?

採用された回答

TAB
TAB 2013 年 2 月 25 日
Simply put Test_Structure.a or Test_Structure.b in constant block to use their values.
  3 件のコメント
TAB
TAB 2013 年 2 月 25 日
If you want to access the elements of array, put Test_Structure.a in constant block and pass this to data port of Index vector block.
Arun Badigannavar
Arun Badigannavar 2013 年 2 月 25 日
Thank u

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

その他の回答 (0 件)

カテゴリ

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