Answered

Variables location Simscape masks

cross_sect is created in the mask of 'Stewart Platform System/Manipulator/Base/Skewed Hexagon'.

Variables location Simscape masks

cross_sect is created in the mask of 'Stewart Platform System/Manipulator/Base/Skewed Hexagon'.

mer än 2 år ago | 0

Answered

2nd Generation Simscape Multibody 'Revolute Rotational Interface' Block?

You can interface a hard stop from the mechanical domain with a revolute joint from Multibody 2G. Have a look at the model "Add...

2nd Generation Simscape Multibody 'Revolute Rotational Interface' Block?

You can interface a hard stop from the mechanical domain with a revolute joint from Multibody 2G. Have a look at the model "Add...

mer än 2 år ago | 0

Answered

How to change the direction of a revolute joint in MATLAB R2018b with Simscape Multibody?

If you wand to flip the revolute joint, insert a rigid transform with a 180 degree rotation around X or Y axis before AND after ...

How to change the direction of a revolute joint in MATLAB R2018b with Simscape Multibody?

If you wand to flip the revolute joint, insert a rigid transform with a 180 degree rotation around X or Y axis before AND after ...

mer än 2 år ago | 0

Answered

How can i introduce a end stop rotation in a multibody model?

You can interface a hard stop from the mechanical rotational domain with the revolute joint. I suggest you have a look at the ex...

How can i introduce a end stop rotation in a multibody model?

You can interface a hard stop from the mechanical rotational domain with the revolute joint. I suggest you have a look at the ex...

mer än 2 år ago | 0

Answered

joining Simscape Hydraulics to Multibody

I suggest you have a look a the model "Hydraulic Actuator with 1D Mechanical Ports" from the Simscape Multibody Multiphysics Lib...

joining Simscape Hydraulics to Multibody

I suggest you have a look a the model "Hydraulic Actuator with 1D Mechanical Ports" from the Simscape Multibody Multiphysics Lib...

mer än 2 år ago | 0

| accepted

Answered

Error Not enough input arguments using Fmincon with nlcon and linear constraints

There are several problems in your code * You must pass the optimization variable as a argument to the nonlinear constraints....

Error Not enough input arguments using Fmincon with nlcon and linear constraints

There are several problems in your code * You must pass the optimization variable as a argument to the nonlinear constraints....

mer än 2 år ago | 1

Answered

This function does not fully set the dimensions of output port 2 error in matlab?

Simulink is having a hard time determining the dimension of the outputs of the MATLAB Function blocks. The root cause is that yo...

This function does not fully set the dimensions of output port 2 error in matlab?

Simulink is having a hard time determining the dimension of the outputs of the MATLAB Function blocks. The root cause is that yo...

mer än 2 år ago | 0

Answered

select parts of vector with loops

Y = rand(100, 3); d = 10; for k=1:size(Y, 1)/d % Select a chunk of data from Y index = d*(k-1)+1:d*k; ...

select parts of vector with loops

Y = rand(100, 3); d = 10; for k=1:size(Y, 1)/d % Select a chunk of data from Y index = d*(k-1)+1:d*k; ...

mer än 2 år ago | 0

| accepted

Answered

I don't find a joint sensor and joint actuator in MATLAB R2018a?

In Simscape Multibody 2nd generation there is no joint sensor or joint actuator block. You can directly actuate or sense from th...

I don't find a joint sensor and joint actuator in MATLAB R2018a?

In Simscape Multibody 2nd generation there is no joint sensor or joint actuator block. You can directly actuate or sense from th...

nästan 3 år ago | 2

Answered

How to simulate orthogonal torque rods perfectly using simscape and simulink?

When you apply a torque to one of the rod, it starts spinning around its axis. But since the rods have masses, the two other rod...

How to simulate orthogonal torque rods perfectly using simscape and simulink?

When you apply a torque to one of the rod, it starts spinning around its axis. But since the rods have masses, the two other rod...

nästan 3 år ago | 1

| accepted

Answered

How to measure Forces at the contact patch of a Tire as a function of suspension arm loads?

You cannot measure the contact force using a 6DOF joint, unless you add some stiffness to the internal mechanics. If you want t...

How to measure Forces at the contact patch of a Tire as a function of suspension arm loads?

You cannot measure the contact force using a 6DOF joint, unless you add some stiffness to the internal mechanics. If you want t...

nästan 3 år ago | 0

| accepted

Answered

How do you i limit the angle of a revolute joint in simscape?

You can interface a <https://www.mathworks.com/help/physmod/simscape/ref/rotationalhardstop.html Rotational Hard Stop> with the ...

How do you i limit the angle of a revolute joint in simscape?

You can interface a <https://www.mathworks.com/help/physmod/simscape/ref/rotationalhardstop.html Rotational Hard Stop> with the ...

nästan 3 år ago | 0

Answered

Could the value of Spring Stiffness in the Revolute joint block (Simscape) be variable?

The stiffness parameter of the revolute joint is a constant. You cannot change it in real time. Here is how you can implement...

Could the value of Spring Stiffness in the Revolute joint block (Simscape) be variable?

The stiffness parameter of the revolute joint is a constant. You cannot change it in real time. Here is how you can implement...

nästan 3 år ago | 0

| accepted

Answered

This Rotational Electromechanical Converter has current and produces torque, but the ideal motion sensor reports zero. What am I doing wrong?

The ideal torque sensor in parallel with the rotational damper does not allow motion. Therefore, not motion is possible between ...

This Rotational Electromechanical Converter has current and produces torque, but the ideal motion sensor reports zero. What am I doing wrong?

The ideal torque sensor in parallel with the rotational damper does not allow motion. Therefore, not motion is possible between ...

nästan 3 år ago | 0

| accepted

Answered

Script for solving equations of motion

To solve the differential equations in MATLAB use one of the ode solvers <https://www.mathworks.com/help/matlab/ordinary-diff...

Script for solving equations of motion

To solve the differential equations in MATLAB use one of the ode solvers <https://www.mathworks.com/help/matlab/ordinary-diff...

nästan 3 år ago | 0

Answered

How can you convert a simscape model into a custom block

Create a subsystem from your model as you would do with a regular Simulink model.

How can you convert a simscape model into a custom block

Create a subsystem from your model as you would do with a regular Simulink model.

ungefär 3 år ago | 0

| accepted

Answered

Is it possible to extract the equations of motionsand the state variables of a Simscape multibody model?

<https://www.mathworks.com/help/slcontrol/ug/linearize-simscape-networks.html>

Is it possible to extract the equations of motionsand the state variables of a Simscape multibody model?

<https://www.mathworks.com/help/slcontrol/ug/linearize-simscape-networks.html>

ungefär 3 år ago | 0

Answered

Define gravity in Simmechanics

In Simscape Multibody the gravity is towards the -z axis by default. However, the definition of the axis in Simscape might be di...

Define gravity in Simmechanics

In Simscape Multibody the gravity is towards the -z axis by default. However, the definition of the axis in Simscape might be di...

ungefär 3 år ago | 1

| accepted

Answered

How do I stabilize an inverted Pendulum linked to a wheel in Simscape and Simulink?

# Configure the cylindrical and revolute joints so that the system starts in an equilibrium position, with the pendulum upward. ...

How do I stabilize an inverted Pendulum linked to a wheel in Simscape and Simulink?

# Configure the cylindrical and revolute joints so that the system starts in an equilibrium position, with the pendulum upward. ...

ungefär 3 år ago | 1

Answered

How to add Common gear to a Simulink Multibody imported from Solidworks?

The port F of the common gear constraint should be connected to the port B (not F) of Revolute1. Connecting the common gear con...

How to add Common gear to a Simulink Multibody imported from Solidworks?

The port F of the common gear constraint should be connected to the port B (not F) of Revolute1. Connecting the common gear con...

ungefär 3 år ago | 0

Answered

Simulation of a rolling wheel on a flat surface using SimMechanics contact forces library block

Use the Collision_02_Disk_Finite_Plane_Fixed example form the Contact Forces Library.

Simulation of a rolling wheel on a flat surface using SimMechanics contact forces library block

Use the Collision_02_Disk_Finite_Plane_Fixed example form the Contact Forces Library.

ungefär 3 år ago | 0

Answered

Three-phase PMSM Drive Control Strategy

This example actually uses vector control. The controller takes the current of the three phases of the stator and the angle of t...

Three-phase PMSM Drive Control Strategy

This example actually uses vector control. The controller takes the current of the three phases of the stator and the angle of t...

ungefär 3 år ago | 0

Answered

How to connect something to both ends of a variable cyindrical solid?

Use a prismatic joint to move the object. The variable solid bloc is indented to model a variable mass and inertia. It is not i...

How to connect something to both ends of a variable cyindrical solid?

Use a prismatic joint to move the object. The variable solid bloc is indented to model a variable mass and inertia. It is not i...

ungefär 3 år ago | 0

Answered

how to stop a motion at a right position and simulate Deformation

You can connect the lead screw to a hard stop from Simscape foundation library. <https://www.mathworks.com/matlabcentral/answ...

how to stop a motion at a right position and simulate Deformation

You can connect the lead screw to a hard stop from Simscape foundation library. <https://www.mathworks.com/matlabcentral/answ...

ungefär 3 år ago | 0

| accepted

Answered

hi would you help me how to actuate prismatic joint in matlab 2017b,

<https://www.mathworks.com/help/physmod/sm/ug/joint-actuation.html>

hi would you help me how to actuate prismatic joint in matlab 2017b,

<https://www.mathworks.com/help/physmod/sm/ug/joint-actuation.html>

ungefär 3 år ago | 0

| accepted

Answered

Simscape Gear constraint example throws position violation

As written in the documentation, the model "smdoc_common_gear_external_start" is incomplete. You have to enter the correct param...

Simscape Gear constraint example throws position violation

As written in the documentation, the model "smdoc_common_gear_external_start" is incomplete. You have to enter the correct param...

ungefär 3 år ago | 0

| accepted

Answered

How to fix a freedom in Simscape?

Replace the 6-DOF joint with a prismatic joint.

How to fix a freedom in Simscape?

Replace the 6-DOF joint with a prismatic joint.

ungefär 3 år ago | 1

| accepted

Answered

plotting an equation and finding its max and min

E1=15.8; E2=12.9; G12=2.7; v12=0.16; x=linspace(0,2*pi,50); t = x; m=cos(t); n=sin(t); y=n.*m.*(m.^2.*...

plotting an equation and finding its max and min

E1=15.8; E2=12.9; G12=2.7; v12=0.16; x=linspace(0,2*pi,50); t = x; m=cos(t); n=sin(t); y=n.*m.*(m.^2.*...

mer än 3 år ago | 1

| accepted

Answered

How to plot a 4^x and a x^8 function together? I have tried so many things from ezplot to plot and fplot, I am very new to this and I hope anyeone could help me

x=linspace(-1,1,100); plot(x.^4); hold on; plot(x.^8); hold off

How to plot a 4^x and a x^8 function together? I have tried so many things from ezplot to plot and fplot, I am very new to this and I hope anyeone could help me

x=linspace(-1,1,100); plot(x.^4); hold on; plot(x.^8); hold off

mer än 3 år ago | 0

| accepted

Answered

How to connect these 2

Connect one receiving end to a source block, then connect to the other receiving end.

How to connect these 2

Connect one receiving end to a source block, then connect to the other receiving end.

mer än 3 år ago | 0