I created a solid by revolving a cross-section, and have given it a density and want the mass calculated from the geometry. How do I output the mass number? I want to scale the density to obtain a certain mass value. I have tried h=find_system('modelname','ClassName','Solid') and then get_param(h,'Mass'), and all I get is the value 1, no matter what density I use.
MATLAB: How to output mass of solid in SimScape multibody
massmultibodySimscapeSimscape Multibodysolid
Best Answer