Export Simscape Multibody Solid Information

조회 수: 12 (최근 30일)
LT
LT 2024년 5월 10일
답변: Amish 2024년 5월 14일
Hi, good day!
Is there a way that I can export the derived values (mass, MOI, Product of Inertia) of all the Solid in a Simscape Multibody model in Excel or any other format?
Thanks

채택된 답변

Amish
Amish 2024년 5월 14일
Hi,
I see that you are trying to export the derived values of all the Solid in a Simscape Multibody model in Excel or any other similar form.
While MATLAB does not have an existing method/tool to perform this, it is possible to do it using some of the built-in functionalities.
You can use MATLAB functions to extract these values and then write them to an Excel file. This would require you to write a script that utilized the "smexportonshape" function to export the physical properties of the solids in your model to a MATLAB structure and then extract all the required values to a table. This can then be written into an excel or a similar type of file.
You can read more about the "smexportonshape" function here: https://www.mathworks.com/help/sm/ref/smexportonshape.html
Hope this helps!

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simscape Multibody에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by