Answered
How to specify the rotational velocity of a torque source?
If you want the shaft to spin at a specified speed, you have two options - use one or the other. Use an Ideal Angular Velocity ...

1 year ago | 0

Answered
How to Establish a path trajectory for a quadruped robot in simscape multibody?
If the outer legs are taking larger steps than the inside legs, it may follow a curve even without a controller. If you want it...

1 year ago | 0

| accepted

Answered
How to use the first output of a matlab function as the input for the revolute joint?
Hi Nayla - the value for initial position state target needs to be a hard coded value or a MATLAB variable. It cannot be set by...

1 year ago | 0

Answered
Simulink 2009 model update to 2022
Hi Scott - the Simscape Multibody first generation software last ships with MATLAB release R2019b. If you want to try the conve...

1 year ago | 0

Answered
How can I stack flexible bodies while using spatial contact forces between them?
The Spatial Contact Force block has a geometry port as its interface. You can attach rigid geometry to the flexible body blocks...

1 year ago | 0

Answered
Can't find equilibrium on simscape multibody/ can't put the steady state by default
There are a few adjustments you should make to your model. Set the Consistency Tolerance in the Solver Configuration block to 1...

1 year ago | 0

| accepted

Answered
Bugs of Error | Actuator torque acting on joint primitive
It is hard to give you a specific answer without looking at the model. I believe you are applying a discrete motion signal, whi...

1 year ago | 0

| accepted

Answered
Simscape Multibody torque measurement on bushing joint seems wrong.
Hi Lukas, Your model is delivering the correct results. The force is being applied along the global z-axis, local y axis. The...

1 year ago | 0

Answered
Unstability of spherical joint
Without your model, it is difficult to give you specific advice. If "fails" means that the spherical joint starts moving due to...

1 year ago | 0

Answered
How to make a "sail" change its angle relative to way the submarine is moving?
Can you share the model? It would make it easier to give you specific advice. As long as the joint is configured to accept joi...

1 year ago | 0

Answered
get Solid blocks derived inertia and mass values
The derived properties are displayed on the block, but are not accessible via get_param(). If you want to automate getting th...

1 year ago | 0

Answered
loaded flexible beam as initial position Simscape
This is a great model - thanks for showing the animation. You cannot specify the initial deflection for the beam through R2022b...

1 year ago | 0

| accepted

Answered
radius of disc brake block
The Disc Brake block lets you specify the radius to the brake pad, which is what is needed to determine the amount of brake torq...

1 year ago | 0

| accepted

Answered
Coding a simple model with torsion spring
I think this example model will help you see a way to model this system: Mechanical Rotational System with Stick-Slip Motion ...

1 year ago | 0

Answered
INVERTED PENDULUM CONTROL
Try looking at this tutorial:Inverted Pendulum: Simscape Modeling https://ctms.engin.umich.edu/CTMS/index.php?example=Inver...

1 year ago | 0

Answered
Im using spatial contact force between a plane and wheel but when i run the simulation the wheel falls freely. Is it a correct response or it has to stay attached to plane?
Here are some things you can try: Set the maximum step size to something small (like 0.01) to make sure the solver takes a step...

1 year ago | 0

Answered
If you want to input holding torque to the joint block
You can use joint modes to lock the degree of freedom, and then release it when you want the joint to move. This will, however,...

1 year ago | 0

Answered
How to Determine the value of Internal Mechanics of Joint Primitive like Spring Stiffness and Damping Coefficient?
Hi @sanjeev kumar, A Revolute Joint in Simscape Multibody permits one degree of freedom. If you want to define damping and spr...

1 year ago | 0

Answered
Simscape - multibody - frames and transforms - world frame
You need to install Simscape and Simscape Multibody to have access to the Simscape Multibody block libraries. --Steve

1 year ago | 0

Answered
simscape kinematic loop don't accept motion input on cylindrical joint
Each of the joints in your mechanism has a target position (and possibly velocity) specified. You need to disable the targets o...

1 year ago | 0

Answered
simscape multibody switching signals (due to Contact Library)
The Simscape Multibody Contact Force Library has blocks that accept an input signal that can disable the force. Look for the bl...

1 year ago | 0

Answered
Based on geometric Feature option is disabled
You are likely importing an STL file. STL files do not contain the features needed to assign frames. Frame locations and orien...

1 year ago | 0

Answered
how make changeable joint limits in simscape ?
You will need to apply the joint limits as an external force. Measure the positions of each part/joint, calculate when the forc...

1 year ago | 0

Answered
How to effectively and optimally simulate multiple robotic platforms in Simscape Multibody
There are many ways to accelerate your model. These can be combined for further speedup. Simplify the quadcopter model - can y...

1 year ago | 1

| accepted

Answered
Nonlinear iteration is not converging (using ode23t) in Simscape Multibody
For situations like this, it is possible that changes to the model and the solver settings could enable the simulation to run wi...

1 year ago | 0

Answered
Single degree of freedom
This example shows you how to model this system in two ways: https://www.mathworks.com/help/simscape/ug/mass-spring-damper-...

1 year ago | 0

Answered
Plotting a potential energy function
Please read this post: https://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a...

1 year ago | 0

Answered
Getting started solving ODE's - solve m [d^2(theta)/dt^2] + c [d(theta)/dt^2] + k sin(theta) = 0
As mentioned by Roger above: I think you have no choice but to solve it numerically. Even without the friction term in the midd...

1 year ago | 0

Answered
how can improved gray scale quantization
As mentioned above: Improved over what? What's wrong with the way you're doing it now? Read this link then come back with an im...

1 year ago | 0

Answered
Index exceeds matrix dimensions
As posted by Geoff in the comments above: The usual procedure is to read the error message, go to the source file and line numb...

1 year ago | 0

Load more