How to handle BusCreator programatically
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentar
Shiv Nileshkumar Matliwala
am 25 Nov. 2022
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 ?
Antworten (1)
Archit Dhanani
am 26 Jul. 2019
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.
Siehe auch
Kategorien
Mehr zu Programmatic Model Editing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!