How to change the density of Simscape Multibody demos?

2 次查看(过去 30 天)
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

回答(1 个)

J Chen
J Chen 2020-5-13
simmechanics.demohelpers.densities is a built-in matlab function. The output is a structure that contains the density of aluminum, steel, titanium and brass.

类别

Help CenterFile Exchange 中查找有关 Applications 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by