How can I retrieve parameter values fom a Simscape Multibody block?
2 views (last 30 days)
Show older comments
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?
0 Comments
Answers (1)
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
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?
See Also
Categories
Find more on Bodies in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!