How do we keep Simulink Signal definitions and Bus Element definitions in sync?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
Fangjun Jiang
il 1 Mar 2019
Use Simulink.Bus.createObject(model,blocks) to create the bus object once all signals are defined, instead of define the bus object?
0 Commenti
Vedere anche
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!