How do we keep Simulink Signal definitions and Bus Element definitions in sync?
1 回表示 (過去 30 日間)
古いコメントを表示
We have the situation where we have data signals defined using Simulink Signal objects that we then communicate around a model using Simulink Buses.
The definition of the Signal includes the Data Type, Min and Max values and Units. This information then gets repeated in the bus element definition.
Is there a way of keeping the signal definition and the bus element definitions in sync without having to enter the information twice?
0 件のコメント
回答 (1 件)
Fangjun Jiang
2019 年 3 月 1 日
Use Simulink.Bus.createObject(model,blocks) to create the bus object once all signals are defined, instead of define the bus object?
0 件のコメント
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!