How can I make the Subsystem block "function packaging" setting propagate to its inner subsystems in Simulink R2022b?
Afficher commentaires plus anciens
When
- There is an atomic subsystem that is used multiple times inside of another atomic subsystem
- The parent subsystem is set to be a "Nonreusable function"
- The "Function packaging" option in instances of the atomic subsystem is set to "Auto"
The generated code still includes a "rt_sys_<model>" C file and header file where the code for this atomic subsystem is generated, despite the parent subsystem being set to be a "Nonreusable function."
My expectation for this setting would be that if the function packaging is set to "Nonreusable function" that all subsystems below, which are set to "Auto" would follow that setting and the generated code would be contained within one C file, but this does not happen.
How can I make the subsystems below inherit the outer subsystem's "function packaging" setting?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Subsystems dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!