Use getparam to get value from bus signal

9 ビュー (過去 30 日間)
Clara
Clara 2023 年 8 月 28 日
回答済み: kei hin 2023 年 8 月 30 日
Is it possible to use getparam to get signal values from a bus?
for example
getparam(busname, signal1,value)
the function get param only allows 2 arguments, so that doesn't work, but I would like something using this logic
Is it possible? How do I do it?
Thanks!

採用された回答

kei hin
kei hin 2023 年 8 月 30 日
I guess you can try to use 'To Workspace' block which in Simulink/Sinks library , link to bus selector block to pick the data you want, then read the data from workspace.

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by