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?

 Akzeptierte Antwort

Sebastian Castro
Sebastian Castro am 30 Jan. 2015

0 Stimmen

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 Kommentar

Tim
Tim am 3 Feb. 2015
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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Simulink Environment Customization finden Sie in Hilfe-Center und File Exchange

Produkte

Gefragt:

Tim
am 28 Jan. 2015

Kommentiert:

Tim
am 3 Feb. 2015

Community Treasure Hunt

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

Start Hunting!

Translated by