Clear Filters
Clear Filters

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

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

Answers (1)

Meet
Meet on 7 Apr 2023
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 Comment
J Chen
J Chen on 8 Apr 2023
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?

Sign in to comment.

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!