How can I retrieve parameter values fom a Simscape Multibody block?

2 次查看(过去 30 天)
I am using a Simscape Multibody model that contains a Brick Solid block. The Inertia is calculated via Calculte form Geometry. Now I would like to extract the moments of inertia via API, if possible. How can I do this?

回答(1 个)

Meet
Meet 2023-4-7
In Simscape Multibody, the equations for the entire system are formulated and symbolically reduced internally, and not exposed. So as of now you will not be able to extract moments of inertia from Simscape Multibody as it was designed to help users by abstracting the complex equations by physical models.
  1 个评论
J Chen
J Chen 2023-4-8
The inertia calculation of the Brick Solid block via geometry doesn't involve symbolic processing. The numbers can be obtained before the model is compiled by clicking the Update button. The question is how to get the numbers programaticaly or through an API?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Bodies 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by