Answered
Vary mass of model in Simmechanics while running
You can use the <https://www.mathworks.com/help/physmod/sm/ref/variablesphericalsolid.html Variable Spherical Solid>, <https...

8 years ago | 0

Answered
How to improve visualization in SimMechanics Generation1 ?
The visualization in First Generation technology is very primitive. It is highly recommended you use Second Generation technolo...

8 years ago | 0

Answered
Simmechanics 2nd Generation - How to restrict motion?
If you are measuring acceleration, you do not need to restrict motion. You just need to ensure your measurement is only along t...

8 years ago | 0

Answered
Rotor/Bearing definition in Simmechanics
Bearing damping (viscous friction that creates a force opposing the spinning of the bearing shaft) would be applied to the Inter...

8 years ago | 0

Answered
SimMechanics Second Generation: How can I measure the interaction force between the world and my end effector?
At the time this question was posted, Simscape Multibody did not calculate constraint forces (also called reaction forces). The...

8 years ago | 0

Answered
How to pass variables to a SimMechanics model from a Function?
Values defined within a MATLAB function are not accessible to the MATLAB workspace. You can use the command assign() to make th...

8 years ago | 0

Answered
WORLD COORDINATE SYSTEM CHANGE IN SIMULINK
A single Rigid Transform attached to World will create a frame with a different orientation, and you could treat that as the Wor...

8 years ago | 0

Answered
Inverse Dynamics in SimMechanics 2nd Gen
You can perform inverse dynamics simulations with Simscape Multibody Second Generation Technology. You do not need to choose th...

8 years ago | 0

Answered
How can I model the motion of 2 gears (pinion & gear) but considering one of them fixed to ground?
Hi Jose, You can use a Rack and Pinion constraint for rolling motion along a straight line. Look at an example that ships wi...

8 years ago | 0

Answered
How visualize camera field of view
For your first question, you could use a semitransparent solids to visualize field of view. That could be a solid pyramid or ju...

8 years ago | 1

| accepted

Answered
Multiple bodies
Yes. You can connect one to each side. With second generation technology, you can connect as many solids as you like to each s...

8 years ago | 0

Answered
Interactive Simmechanics animation - keyboard shortcuts
Hi Jakub - if you connect Simulink Dashboard blocks to inputs that control your Simscape Multibody simulation, this will get you...

8 years ago | 0

Answered
Animating SimMechanics 3D Output
Video generation technology has advanced quite a bit in recent releases, so I recommend trying it again. You can define cameras...

8 years ago | 0

Answered
SimMechanics API
The Simscape Multibody Import XML Schema is public, and you can download the necessary information here: <https://www.mathwor...

8 years ago | 0

| accepted

Answered
How to make a cylinder with SimMechanics?
The Solid Block in Simscape Multibody has a drop-down menu where you can select "Cylinder", and then assign parameters like leng...

8 years ago | 0

Answered
Is there a possibility to model mechanical interactions between Simscape 1D and SimMechanics 2nd generation 3D models?
You can use the <https://www.mathworks.com/matlabcentral/fileexchange/37636-simscape-multibody-multiphysics-library Simscape Mul...

8 years ago | 0

Answered
Measure reaction forces in joints and bearings
Constraint forces (also referred to as reaction forces) were added to Simscape Multibody in R2014a. Joint block dialog boxes pr...

8 years ago | 0

Answered
Body motion in SimMechanics 2nd Gen
Motion actuation for joints was added to Simscape Multibody Second Generation Technology in R2013b. The error you encountered...

8 years ago | 0

Answered
How to integrate SimHydraulics and Simmechanics model
An example showing how to combine hydraulic models and Simscape Multibody models is contained in the Simscape Multibody Parts Li...

8 years ago | 0

Answered
Is contact simulation possible using SimMechanics 2nd Gen?
For 1D contact problems where only viscous friction is present, the hardstop block may be sufficient. However, for 2D and 3D pr...

8 years ago | 0

Answered
How to impose initial condition on an actuated joint in SimMechanics model?
You can specify target values for the initial position and velocity for any joint. This is independent of the value that the co...

8 years ago | 1

| accepted

Answered
How can we update mechanics explorer's view point in real time?
You can define cameras within the Mechanics Explorer. The location and orientation of the camera can change during the animatio...

8 years ago | 2

Answered
How to change the axis of action of a revolute joint in Simmechanics Second Generation
You need to re-orient the frames that attach to this joint using Rigid Transform blocks. See <https://www.mathworks.com/matla...

8 years ago | 0

Answered
Change Revolute Joint Axis in SimMechanics
You need to orient the frames that are attached to the Revolute Joint so that the Z-axis of those frames point along the desired...

8 years ago | 2

Answered
Embed SimMechanics Visualization in MATLAB GUI
I do not believe there is a way to embed the Mechanics Explorer in a MATLAB GUI. You can, however, dock the Mechanics Explorer ...

8 years ago | 1

Answered
Comment pourrais je modéliser le contact entre une roue et le sol sous SimMechanics ?
I recommend looking at the File Exchange submission <https://www.mathworks.com/matlabcentral/fileexchange/47417-simscape-multi...

8 years ago | 0

Answered
Plotting trajectory in Mechanics Explorer window.
You cannot plot it as the trajectory is created. A workaround is to save the trajectory to a MATLAB variable and then visualize...

8 years ago | 1

Answered
How to link sim mechanic with solidwork 2016?
The menu entry for Simscape Multibody Link is not shown in the SOLIDWORKS menu until you open an assembly. Try opening an assem...

8 years ago | 0

Answered
Undefined function or variable 'import_physmod' in SimMechanics Link
You need to download install_addon.m and the zip file from the <https://www.mathworks.com/products/simmechanics/download_smlink....

8 years ago | 0

Answered
modeling ball screw using Simmechanics 2nd generation
An example showing how to use the Lead Screw Joint is contained in the Simscape Multibody Parts Library, which is available on t...

8 years ago | 0

Load more