What is defference between masked subsystem and unmasked subsystem?
Mostra commenti meno recenti
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
Risposta accettata
Più risposte (1)
Shivam
il 12 Giu 2023
0 voti
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.
Categorie
Scopri di più su Subsystems in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
