Using Simulink | ![]() ![]() |
Adding Libraries to the Library Browser
If you want a library that you have created to appear in the Library Browser, you must create an slblocks.m
file that describes the library in the directory that contains it. The easiest way to create an slblocks.m
file is to use an existing slblocks.m
file as a template. You can find all existing slblocks.m
files on your system by typing
at the MATLAB command prompt. Copy any of the displayed files to your library's directory. Then open the copy, edit it, following the instructions included in the file, and save the result. Finally, add your library's directory to the MATLAB path, if necessary. The next time you open the Library Browser, your library should appear among the libraries displayed in the browser.
![]() | Browsing Block Libraries | Working with Signals | ![]() |