Export Simscape Multibody Solid Information

12 次查看(过去 30 天)
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