MATLAB: How to set “show masked subsystem” off as default

model browsersimulink

Hi everyone, I have created a library and many blocks are masked. I don't like the model browser to show all the blocks of subsystems and I found that view can be customized in Model Browser Options by unchecking ' show masked subsystems'.
I would like to know if there is a way to set this view option off as default by a line in library script.
Waiting for your kind answer, I thank you for your time.
Chiara

Best Answer

You can configure this in the Simulink Preferences.
The first section, "Display Defaults for New Models" has a "Show Masked Subsystems" checkbox there.
- Sebastian