Answered
Export Simscape Solid to STL or STEP File
There are quite a few examples of MATLAB code that will produce an STL file on the MATLAB Central File Exchange. You will need ...

5 years ago | 0

Answered
Simscape Multibody inertia sensor: include a subset of bodies
You could: Copy the relevant components to a separate model and perform the test with the Inertia Sensor block there Model the...

5 years ago | 0

Answered
Simulink slow on AMD Ryzen 7
My suggestions: Check the compiler you are using on each machine, and make sure it is the same. Use the Solver Profiler to see...

5 years ago | 0

Answered
Simscpe can't read the density value
Hi Lihao - some geometry files do not have the density specified in them. In those cases, you need to specify the density value ...

5 years ago | 0

Answered
slow simulation - computation problems
There are many good suggestions in the comments. Please note: Simulating with ode23t is a dynamic analysis, not steady state ...

5 years ago | 0

Answered
Simscape Multibody: How can I lock a revolute/spherical joint?
Hi Irina, It seems the effect you want could be created by rapidly increasing friction at the moment of lock. There are many f...

5 years ago | 0

| accepted

Answered
Detecting solver errors in compiled Simscape Multibody model
Hi Andrew - the "impossible situation" is from a combination of the compiled model, solver settings, and inputs fed to the model...

5 years ago | 0

Answered
Simscape multibody hollow flexible body
Hi Zeno - you need to make sure that the cross section you have defined does not have edges that overlap. If you can add the cr...

5 years ago | 1

| accepted

Answered
How to calculate the common center of mass position of multiple rigid bodies in Simscape Multibody?
As Vasco mentioned above, the Inertia Sensor block was created for this purpose. From Vasco's Comment above: Hi there have yo...

5 years ago | 0

| accepted

Answered
Simscape - Sphere to Plane Force Enabled Block Input
Hi David, The contact force can be enabled or disabled using the input signal as you have identified. The input signal must be...

5 years ago | 0

Answered
how do i find the DH parameters of the robotic arm on the matlab which i imported from the solidworks which is 5dof?
I agree with Abhinav's answer, copy/posted here from the comment. Hi Amisha, You can fix the coordinate frames on joint axes i...

5 years ago | 0

Answered
Contact Modelling - Simulink
As Yifeng mentioned, the Spatial Contact Force block supports CAD geometries for MATLAB R2020a and higher. The Simscape Multibo...

5 years ago | 0

Answered
Simulink - Simscape Tire (Magic Formula) to output lateral components
You have a few options for a tire with longitudinal and lateral dynamics that integrates well with Simscape. MFeval on the File...

5 years ago | 0

Answered
Searching for a Vehicle Tire Model for Independent 4WD BEV including lateral dynamics and unequal torque outputs.
Hi William, You have a few options for a tire with longitudinal and lateral dynamics that integrates well with Simscape. The n...

5 years ago | 0

| accepted

Answered
Interface Simulink based clutch device with Simscape driveline loop
Hi Ayham, Breaking a Simscape network completely with Simulink elements is very challenging. You will end up inserting delays ...

5 years ago | 0

| accepted

Answered
How do I get a feedback controller for active suspension system in simmechanics?
Hi Sajmir. The approach shown in Control Tutorials for MATLAB and Simulink - Suspension: Simulink Simscape (umich.edu) is corre...

5 years ago | 0

Answered
What are the differences between "Spatial Contact Force" block in Simulink/Simscape Multibody Library and "Simscape Multibody Contact Forces Library", if any?
Both are intended to help users model contact forces in Simscape Multibody models. If the Spatial Contact Force meets your need...

5 years ago | 1

| accepted

Answered
First solve for initial conditions failed to converge. Trying again with all high priorities relaxed to low.
Hi Pratik Shirude - here are three ways to eliminate the warnings at the start of the simulation. Remove the inertia from the G...

5 years ago | 0

Answered
Simulating Trucks Air Brake
Hi Gal, We have many brake examples in Simscape Driveline. I think the best way to model your system would be to take a shippi...

5 years ago | 0

Answered
Unable to read xml file
As KSSV noted, the error message "... not found" means the file is not in the current working directory and it is not on the pat...

5 years ago | 0

Answered
Wind Turbine Doubly-Fed Induction Generator
Here are two places you can look for example models of what you are trying to do: MATLAB Central File Exchange: https://www...

6 years ago | 0

| accepted

Answered
How can i add simscape block programmatically
Looks like Yifeng's comment answered your question: If you open Simulink Library and hover the mouse over the block you want, t...

6 years ago | 0

Answered
program spherical joint parameters in Simscape Multibody: PositionTargetRotationArbitraryAxis
To get a list of all parameter names, you can select the block (click on it once) and enter get_param(gcb,'ObjectParameters') ...

6 years ago | 0

| accepted

Answered
How to use the Spatial Contact Force block introduced in R2019b
You need to expose a Geometry port on any solids you wish to connect to the Spatial Contact Force block. The instructions are o...

6 years ago | 1

| accepted

Answered
Sample time settings to read data correctly from Spreadsheet
I suspect the easiest way is to multiply your time vector by 3600. If you upload the Excel spreadsheet, we can test further.

6 years ago | 1

| accepted

Answered
Warning due to Ideal Translational Motion Sensor
Glad to hear you were able to solve the problem yourself. If you have other problems, let us know. If possible always try to...

6 years ago | 0

| accepted

Answered
Incorrect normal reaction force in Sphere on Plane contact model
Looks like you managed to answer this question yourself - that's great!

6 years ago | 0

Answered
How to couple a Simulink Solar panel model onto Hybrid Electric Vehicle model?
We have a number of hybrid electric vehicle models that ship with Simscape products and that are available on the File Exchange....

6 years ago | 0

Answered
Modeling a Generic Engine + Continuously Variable Transmission in SimDriveline 2.3 (R2012b)
The original model did not have a mechanical connection between the engine and the Variable Ratio Transmission. That means the ...

6 years ago | 0

Answered
Why can't you specify viscous coefficients on the carrier side in Differential block
Hi David, The viscous friction you specify for driveshaft-casing encompasses both the bearing friction for driveshaft-casing an...

6 years ago | 0

Load more