Update bus selector by matlab script

3 ビュー (過去 30 日間)
Benjamin
Benjamin 2015 年 11 月 10 日
回答済み: Shubham 2024 年 8 月 24 日
Hi, is there a possibility to let a Bus Selector and Bus Creator update by a Matlab Script after I change the element name within a bus object?

回答 (1 件)

Shubham
Shubham 2024 年 8 月 24 日
Hey Benjamin,
You can programmatically change the signal names in the case of Bus Creator block but if your model uses Bus Selector block as well then you need to manually select the updated name of the signal in the Bus Selector block. This is because the Input Signals in Bus Selector is a read only object and modifying it programmatically produces an error.
For more information regarding this query, please refer to the following MATLAB Answer:
I hope this helps!

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by