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

2 Ansichten (letzte 30 Tage)
Wolfgang Niessen
Wolfgang Niessen am 13 Mär. 2023
Kommentiert: J Chen am 8 Apr. 2023
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?

Antworten (1)

Meet
Meet am 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 Kommentar
J Chen
J Chen am 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?

Melden Sie sich an, um zu kommentieren.

Produkte


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by