How to change the density of Simscape Multibody demos?

2 Ansichten (letzte 30 Tage)
b b
b b am 25 Mär. 2017
Beantwortet: J Chen am 13 Mai 2020
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

Antworten (1)

J Chen
J Chen am 13 Mai 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.

Kategorien

Mehr zu Simscape Multibody finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by