How to change the density of Simscape Multibody demos?
2 views (last 30 days)
Show older comments
In the demos, I often see:
density = simmechanics.demohelpers.densities; nameofobject.density = density.steel;
where nameofobject is the name of an object in the model.
Could you please let me know besides steel, what other options are available? How can I change all the parts of a model to aluminium? Thank you
0 Comments
Answers (1)
J Chen
on 13 May 2020
simmechanics.demohelpers.densities is a built-in matlab function. The output is a structure that contains the density of aluminum, steel, titanium and brass.
0 Comments
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!