Export Simscape Multibody Solid Information

13 vues (au cours des 30 derniers jours)
LT
LT le 10 Mai 2024
Réponse apportée : Amish le 14 Mai 2024
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

Réponse acceptée

Amish
Amish le 14 Mai 2024
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!

Plus de réponses (0)

Catégories

En savoir plus sur Simscape Multibody dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by