How to use two Simulink libraries at the same time

4 Ansichten (letzte 30 Tage)
Jun Ishikawa
Jun Ishikawa am 6 Mär. 2024
Kommentiert: Jun Ishikawa am 11 Mär. 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.

Akzeptierte Antwort

Sanju
Sanju am 11 Mär. 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 Kommentar
Jun Ishikawa
Jun Ishikawa am 11 Mär. 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Produkte


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by