Borrar filtros
Borrar filtros

Virtual Bus signal information

3 visualizaciones (últimos 30 días)
Francois Godin
Francois Godin el 1 de Jun. de 2018
Respondida: Francois Godin el 1 de Jun. de 2018
Understanding the differences between a Virtual and Non-Virtual bus in Simulink, I'm trying to find a workaround to query individual signals included in a virtual bus at the boundary of a SubSystem.
Anyone would know a way to extract the following information for the individual signals in the bsu: - Compiled Data Type - Compiled Sampling rate - Compiled dimension - Are they used inside the SubSystem?
Thanks,
Francois Godin

Respuestas (1)

Francois Godin
Francois Godin el 1 de Jun. de 2018
Oh well, I just found out part of my answer: busInfo = Simulink.Bus.createObject(model,{InPort or OutPort handle})
The only remaining item is to find out if a bus element is used inside the Subsystem. I assume that Simulink/Compiler knows that information since it optimizes the code accordingly.

Categorías

Más información sobre Subsystems en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by