Can i check the signals in a Bus ?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Omar Abdelkader
el 22 de Nov. de 2018
Respondida: Mark McBroom
el 23 de Nov. de 2018
I need to check if a specific signal is in the bus or not ?
0 comentarios
Respuesta aceptada
Mark McBroom
el 23 de Nov. de 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.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Sources en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!