MATLAB Answers

0

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

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.

Tags

No tags entered yet.

Products


Release

R2018b

1 Answer

Answer by MathWorks Support Team on 22 Apr 2019 at 4:00
 Accepted Answer

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.