MATLAB Answers

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".

  0 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.

Tags

No tags entered yet.

Products


Release

R2018b