How to use two Simulink libraries at the same time

3 vues (au cours des 30 derniers jours)
Jun Ishikawa
Jun Ishikawa le 6 Mar 2024
Commenté : Jun Ishikawa le 11 Mar 2024
Please tell me how we can use two Simulink libraries at the same time?
For example, I am thinking of using "Simscape-Multibody-Contact-Forces-Library" and "Simscape-Multibody-Parts-Library" at the same time. Please let me know if there is any way to install both of them as lasting libraries.

Réponse acceptée

Sanju
Sanju le 11 Mar 2024
I understand that you want to use two Simulink libraries at the same time,
In Simulink, utilizing multiple libraries concurrently is straightforward. Let’s take the example given by you, begin by ensuring that both the "Simscape Multibody Contact Forces Library" and the "Simscape Multibody Parts Library" are installed in your MATLAB environment. You can achieve this by accessing the MATLAB Add-Ons menu.
Once installed, they should be visible under the Simscape Multibody section in your Library Browser. With both libraries accessible, you can simply drag and drop blocks from each library into your model workspace as needed. Connect these blocks accordingly to build your simulation. To configure parameters, adjust the settings of the blocks to suit your requirements. Once configured, run your simulation by clicking on the "Run" button in the Simulink toolbar.
Note: Always add a Solver Configuration Block to the Physical Model
Following these steps enables the simultaneous utilization of the "Simscape Multibody Contact Forces Library" and the "Simscape Multibody Parts Library" in your Simulink models.
Hope this helps!
  1 commentaire
Jun Ishikawa
Jun Ishikawa le 11 Mar 2024
Thank you so much for your informative advice.
I was able to have installed the two libraries in non-volatile manner. I misunderstood that downloading from file exchange and running the prj file was the way to install. I did exactly what you suggested from the add-on and successfully installed them.
Thank you so much again.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Produits


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by