How to use two Simulink libraries at the same time

4 次查看(过去 30 天)
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.

采纳的回答

Sanju
Sanju 2024-3-11
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 个评论
Jun Ishikawa
Jun Ishikawa 2024-3-11
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.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by