What is defference between masked subsystem and unmasked subsystem?
Afficher commentaires plus anciens
I have a question about mask option in subsystem.
In simulink, we can 'mask' option in subsystem and if i use this, i can encaptulate the subsystem.
Is there any difference in 'mask' option? such as the way of code generation or result of code generation or way of compliling etc.
I wonder if it's just for visual encapsulation or other difference.
thanks
Réponse acceptée
Plus de réponses (1)
Shivam
le 12 Juin 2023
0 votes
The main difference between masked and unmasked subsystems in Simulink is that unmasked subsystems are fully visible and allow direct access to their internal components, while masked subsystems hide their internal implementation and require the use of a custom interface to modify their behavior.
The mask option does not affect the underlying behavior or functionality of the subsystem. It does not change the way the subsystem is simulated, compiled, or generates code. The mask is purely a visual representation and a means of providing user-configurable parameters.
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!
