Azzera filtri
Azzera filtri

Exporting a custom library in Simulink

10 visualizzazioni (ultimi 30 giorni)
Tim
Tim il 28 Gen 2015
Commentato: Tim il 3 Feb 2015
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?

Risposta accettata

Sebastian Castro
Sebastian Castro il 30 Gen 2015
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 Commento
Tim
Tim il 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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Simulink Environment Customization in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by