Exporting a custom library in Simulink

Hi all, I am using Matlab Simulink 2011b. A previous user has created a block library, and I need to move it to the new computer we brought into the lab. The thing is, I don't know where it is located on the PC or how to export it to the other computer. Any suggestions?

 Accepted Answer

Hi Tim,
I take it that you're able to open up the previous user's library, right?
If you don't have the exact filename of the library, do this first: If you can access the library from the Simulink Library Browser, you can right-click the library's name on the navigation tree on the left and use the menu to open the library model file (.mdl in R2011b) in a separate window.
Suppose that, after you do that, the name of the library is "previous_users_lib.mdl". The, you can go into the MATLAB Command Window and type in:
which -all previous_users_lib
The output of this command should tell you the path of the file you're looking up.

1 Comment

Many thanks! He actually did not add the library to the browser, but with your help I was able to find the file on the computer (simple search gave too many results).
Have a great week

Sign in to comment.

More Answers (0)

Categories

Products

Asked:

Tim
on 28 Jan 2015

Commented:

Tim
on 3 Feb 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!