Can i check the signals in a Bus ?

5 Ansichten (letzte 30 Tage)
Omar Abdelkader
Omar Abdelkader am 22 Nov. 2018
Beantwortet: Mark McBroom am 23 Nov. 2018
I need to check if a specific signal is in the bus or not ?

Akzeptierte Antwort

Mark McBroom
Mark McBroom am 23 Nov. 2018
One approach would be to create a bus object from the bus creator in your model that creates the bus using the function Simulink.Bus.createObject. You could then write a MATLAB function that looks to see if any of the bus elements match your specific signal name/type/size.

Weitere Antworten (0)

Kategorien

Mehr zu Modeling finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by