- Implement the Logic in a model:

- Reference the model in the library using a model block

- Create a protected model from the model block in the library and make sure the library block refers to the .slxp file

- Create a subsystem out of the protected model in the library and mask it for the potential parameters

- The library block can now be used in any model, and it will be linked to the library and its contents will be protected:
