MATLAB: What does the padlock icon on the block of a subsystem represent

simulink

What does the lock icon on the subsystem represent and how do I change this property?
How is it different from the appearance of locked library link?

Best Answer

The lock icon on a subsystem indicates its Read/Write permissions. A padlock indicates either a ReadOnly or a NoReadOrWrite Subsystem. You can change this property by right clicking the subsystem -> Block Parameters (Subsystem) and then changing the Read/Write Permissions. If you hover the mouse pointer over the padlock, this property is highlighted.
On the other handle locked library links appear as a 'chain' symbol. A padlock appears inside a locked linked block, as mentioned on this page: