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?
0 个评论
回答(1 个)
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
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 Center 和 File Exchange 中查找有关 Bodies 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!