How to handle BusCreator programatically
6 ビュー (過去 30 日間)
古いコメントを表示
Hello!
I have quite a simple question: the BusCreator has a block parameter "Require input signal names to match signals above". How can I access this setting via get_param?
Thanks a lot!
1 件のコメント
Shiv Nileshkumar Matliwala
2022 年 11 月 25 日
Hello Matthias,
Can you tell me how can see the input ports and output ports of the bus creator block ??
using find_system() it should be work like
inports_bc = find_system(bus_creator,'BlockType','Input')
So, is it correct or any other way to extract this information ?
回答 (1 件)
Archit Dhanani
2019 年 7 月 26 日
Unfortunately, there is no get_param API for this parameter.
(As of R2019a ) the documentation says Note: The Require input signal names to match signals above parameter might be removed in a future release. To enforce strong data typing, consider using the Override bus signal names from inputs parameter.
参考
カテゴリ
Help Center および File Exchange で Programmatic Model Editing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!