How to use two Simulink libraries at the same time

5 views (last 30 days)
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.

Accepted Answer

Sanju
Sanju on 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 Comment
Jun Ishikawa
Jun Ishikawa on 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.

Sign in to comment.

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!