Reason for Simulink.BusElement objects no longer supporting the SampleTime property
Mostrar comentarios más antiguos
Dear Users,
I would like to raise a question on the following update starting from 2020b. regarding the Simulink.BusElement objects no longer support the SampleTime property:
"Simulink.BusElement objects no longer support the SampleTime property
The SampleTime property of Simulink.BusElement objects is no longer supported.
BusElement objects that specify a sample time cause an error during compile. To remove the sample time specification from a BusElement object, set its SampleTime to -1."
I am wondering why this has been established, since this modification makes serious incompatibility issues with respect to codes developed with earlier versions. I would like to grasp the rationale for this decision to understand whether this change helps solving hidden issues occurring before.
Thank you very much,
Stefano
2 comentarios
Andrea Colagrossi
el 20 de En. de 2023
I have the same doubt as the one made by Stefano. Defining the SampleTime in Bus Objects is common practice for space code production according to SAVOIR standards for automatic code generation.
Michele Bechini
el 20 de En. de 2023
I struggled with the very same issue without finding a straightforward solution! I updated to 2021b, and now my code (that was compliant with SAVOIR standards) is completely broken... Is there a reason for this change in the SampleTime philosophy?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Naming Conventions en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!