Export Simscape Multibody Solid Information

3 ビュー (過去 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 Center および File ExchangeSimscape Multibody についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by