Script to create instance of bus signal and write it to the data dictionary
9 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I would like write a script that does the following:
- Create an instance of a bus signal included in a data dictionary
- Set the values of the members of the bus signal to 0.
- Write this instance to the data dictionary.
Can it be done? If so, how to do it?
Thanks!
0 Commenti
Risposte (1)
Kavya Vuriti
il 31 Mar 2020
Hi,
To create bus objects or bus elements programmatically, you could refer following documentation:https://www.mathworks.com/help/simulink/ug/create-bus-objects-programmatically.html#bvf4tak
0 Commenti
Vedere anche
Categorie
Scopri di più su Event Functions in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!