What data type does the "Parameterization" parameter of the Rod block expect?

1 view (last 30 days)
What data type does the "Parameterization" parameter of the Rod block expect?
I am creating a Simscape Custom Component that contains the Simscape > Couplings & Drives > Rod block.
I keep getting errors when I try to assign the "Parameterization" parameter of the Rod block in my SSC code.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 22 Apr 2019

1) You can determine the type of a parameter using the following command:

>> get_param(h,'Parameterization')

You will find that a value of 1 means 'By stiffness and inertia' and a value of 2 means 'By material properties'.

2) You can also determine a parameter's type using the Model Explorer as shown in the attached screenshot. This way, you can change block parameters and observe the values of the underlying variables in the same place.

Notice that the Rod's parameterization parameter indicates a value of 1 when its "Parameterization" dialog parameter has been set to "By stiffness and inertia".

More Answers (0)

Categories

Find more on Simscape Driveline in Help Center and File Exchange

Tags

No tags entered yet.

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!