Answered
Is it possible to model a ball and wheel system using SimMechanics?
You can do this in Simscape Multibody in a couple of ways. If you can assume that the ball will not slip, you could connect the...

5 years ago | 0

Answered
Editing geometry imported from SolidWorks to Simmechanics
You have a few options here, but they will all involve a bit of programming. In all options, you will need to identify the para...

5 years ago | 0

Answered
How I can simulate a wire rope for block pulley (winch )of crane in Simmechanics 2G , and after to see in Mechanical Explorer ?
We have a number of examples with cables and pulleys. Take a look at example Tower Crane with Trolley and Hoist. https://w...

5 years ago | 0

Answered
animation of a body
If you want to animate the force on the fingertip, you can use a Variable Solid whose length is defined by the magnitude of the ...

5 years ago | 0

Answered
Revolute Joint Definition in Multi Body Simulation
If you want the other leg to remain vertical, you will need to specify the joint targets between the 6-DOF joint for the other l...

5 years ago | 0

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

5 years 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

5 years 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...

5 years 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...

5 years 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...

5 years 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...

5 years 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...

5 years 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...

5 years 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...

5 years 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...

5 years 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...

5 years 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. ...

5 years 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...

5 years 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...

5 years 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...

5 years 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 ...

5 years 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...

5 years 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...

5 years 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 ...

5 years 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...

5 years 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...

5 years 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 ...

5 years 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...

5 years 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...

5 years 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...

5 years ago | 0

Load more