Tuesday, December 10, 2013

Create a Library

Sometimes it is useful to have some components in a personal library. Specially for the mask or customized components. If we create a library with this type of components, they cannot be modify by an external user.

Creating a custom library is really easy. First of all, we open a new library in the Simulink enviroment and save it: File>>New library

New library

Then we drag the components we are interested in from the Simulink Library Browser. If we need to add the custom components we can drag them from a Simulink Model. Then we can have our customized library with our priorities and without enabling the change of the customized and mask components.

Example: Most_used_components
Most_used_components.slx library
Notice that the extension of Simulink libraries is .slx

Licencia Creative Commons