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?

 채택된 답변

Sebastian Castro
Sebastian Castro 2015년 1월 30일

0 개 추천

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

Tim
Tim 2015년 2월 3일
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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Modeling에 대해 자세히 알아보기

질문:

Tim
2015년 1월 28일

댓글:

Tim
2015년 2월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by