Export Simscape Multibody Solid Information
12 views (last 30 days)
Show older comments
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
0 Comments
Accepted Answer
Amish
on 14 May 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!
0 Comments
More Answers (0)
See Also
Categories
Find more on Simscape Multibody in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!