Answered
How to do Four Bar Mechanism
Sure! Derive the equations and program it in MATLAB or Simulink. --Steve

3 months ago | 0

Answered
missing example for simmechanics 2nd G. Cannot find ''double wishbone suspension'' example.
Hi B - I think that example was added in a later release. --Steve

3 months ago | 0

Answered
How do I drive a motor backwards in simulink?
Yes! In Simulink you can model this type of logic using a state machine in Stateflow, or simple if/then logic using Simulink bl...

3 months ago | 0

Answered
Controlling motion of a solid
Hi Travis, It looks close! If you apply a torque to the cylindrical joint, you can get it to spin, and for the oscillations you...

3 months ago | 0

Answered
Units in Matlab Model
Hi Daniel, The dropdown menus in Simscape permit you to specify units of the parameters. You can create your own unit combinat...

3 months ago | 0

Answered
How can I get the global centre of masse of a machine
The best way to get this answer would be to use the Inertia Sensor block added in R2019b. If that is not an option, you could s...

3 months ago | 0

Answered
How i can save in .XML
Hi Alex, Once the plug-in has been enabled, the option to export to Simscape Multibody will only appear if you have opened an a...

3 months ago | 0

Answered
How can i limit my joint blocks or certain distances?
Hi Julia, In Simscape Multibody you can limit the range of travel of a joint using joint limits. A spring-damper force becomes...

3 months ago | 0

Answered
How to run a Simulink example by not going through the whole coded tutorial? (mech_motorcycle_stability)
Hi Nicholas, The lines of code you have copy/pasted have a typo in them. It should be mech_motorcycle_data, not motorcycle_d...

3 months ago | 0

Answered
How to align two frame axes on Simscape, without connecting the solids
Hi Vincent, The joint combination of 3 parallel (Cylindrical - Telescopic) doesn't seem like a useful combination to me. I sus...

3 months ago | 0

Answered
Incorrect Torque Calculation SimMechanics
Hi Jacob, I am not sure I interpreted your explanation as you intended, but I believe the signals you are seeing on your scopes...

3 months ago | 0

Answered
CAD Import without Simulink Addon
Hi Brad, You can use CAD files directly from many formats, including STL, STEP, IGES. You do not need to convert them to XML. ...

3 months ago | 0

Answered
How to control the angular velocity.
Hi there, You can measure the wheel speed from the Revolute Joints. That speed signal can be fed to a feedback controller that...

3 months ago | 1

| accepted

Answered
I need help getting this code to work in the current version of matlab
Comments above indicate the code is working. If you can explain why this code is not performing as as expected, add some detail...

3 months ago | 0

Answered
How to print the display of the mechanics explorers
Hi Perrick, Through release R2021a, this is not possible from within MATLAB. I have had success issuing some screenshotting co...

3 months ago | 0

Answered
How to set the quality of the output video in mechanics explorers
Hi Perrick, The video creator app in Simscape Multibody lets you set the frame size, frame rate, and a few other parameters to ...

3 months ago | 0

Answered
problem with simwise and simscape
Please see this post in MATLAB Answers: https://www.mathworks.com/matlabcentral/answers/396152-i-have-a-problem-with-matlab-rece...

3 months ago | 0

Answered
Question about Imitating a robotic arm using simscape
Hi Criss > Starting the simulation while all the links are straight (i.e. 0 degree angle between them) The angles of the joint...

3 months ago | 0

Answered
Obstacle avoidance and how to create workspace and configuration space
There are many ways to do this. The two primary methods would be to import an environment with obstacles from CAD or to create ...

3 months ago | 0

Answered
Why does Wheel rotate in all directions when running the simulation in Simscape Multibody after import ?
Hi Nabila, Your suspension is missing (at least) two important components - the track rod and the shock (spring damper). Witho...

3 months ago | 0

| accepted

Answered
Body in my model moves when it shouldn't
Hi Ericko, If you look at the vertical axis of your scope, you can see that your ball is moving roughly 2e-29 meters in 10 seco...

3 months ago | 0

Answered
How to let a belt-cable disengage from a pulley?
Hi J, The Pulley block in Simscape Multibody through R2021a will not permit the cable to disengage the pulley. It must always ...

3 months ago | 0

Answered
Simulation of two simple robot arms to grasp a ring using SimMechanics contact forces library block
Hi Yuhan, This looks like a 3D problem, so you should probably be using Sphere-to-Cylinder, not Circle-to-Ring. Circle-to-Ri...

3 months ago | 0

Answered
How to get COM position of biped robot during locomotion using matlab2017b simscape?
The best way to get this answer would be to use the Inertia Sensor block added in R2019b. If that is not an option, you could s...

3 months ago | 0

Answered
Simscape Multibody: Rigid Transform changes System Output
Hi Jan, I see what you see on the Scope. One solid appears to be moving sinusoidally and the other not at all. However, if yo...

3 months ago | 0

Answered
Inverse Dynamics from joint with Friction
Hi Sam, If you are going to prescribe the motion this joint, then the friction force will have no effect on the joint's motion....

3 months ago | 0

Answered
how to give input to sphere to belt forces block in simscape?
Hi Deep, Look at example Gripper_2Whl.slx. It shows you how to use this block, including how to create the input signal as a b...

3 months ago | 0

Answered
What is position violation ?
Hi Hamzah, The error message about not being able to assemble usually means that your model is kinematically impossible. One o...

3 months ago | 0

Answered
Array as input in force damper block
There are many ways to do this. One way to do it for a general translational case where you are connecting any two arbitrarily ...

3 months ago | 0

Answered
How can I apply logics to Spatial Contact Force signals
Hi Fabio, It isn't clear to me why you would want to turn the Spatial Contact Forces for the protusions off. Are you hoping to...

3 months ago | 0

Load more