How to change the density of Simscape Multibody demos?

2 views (last 30 days)
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

Answers (1)

J Chen
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.

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!