Answered

How to follow a SimScape Multibody model in Mechanics Explorer

I couldn't figure out how to use the Keyframes camera either. So I settle with the Tracking camera. The easiest way to track an ...

How to follow a SimScape Multibody model in Mechanics Explorer

I couldn't figure out how to use the Keyframes camera either. So I settle with the Tracking camera. The easiest way to track an ...

13 days ago | 1

| accepted

Answered

Simscape Multibody Add-On Download Error

Did you try to install the trial license? I had the same problem. Try to request a trial using the Mathworks website instead of ...

Simscape Multibody Add-On Download Error

Did you try to install the trial license? I had the same problem. Try to request a trial using the Mathworks website instead of ...

1 month ago | 1

Answered

How to create Simscape multibody link with a hole

https://www.mathworks.com/help/physmod/sm/ug/compounding-body-elements.html#mw_14364c3d-f2ab-4f78-bc99-d6a67541e061

How to create Simscape multibody link with a hole

https://www.mathworks.com/help/physmod/sm/ug/compounding-body-elements.html#mw_14364c3d-f2ab-4f78-bc99-d6a67541e061

2 months ago | 0

Answered

What physics engine does Simscape Multibody use?

Simscape, including all its toolboxes, is based on Simscape language. An introduction can be found at https://www.semanticschola...

What physics engine does Simscape Multibody use?

Simscape, including all its toolboxes, is based on Simscape language. An introduction can be found at https://www.semanticschola...

2 months ago | 0

Answered

Symbolic and Jacobian Matrix

Try the following. They gave what you want in Matlab R2019b. syms m phi theta psi u1 u2 u3 u4 N = sym('n%d%d', [3 4]) T = [1 ...

Symbolic and Jacobian Matrix

Try the following. They gave what you want in Matlab R2019b. syms m phi theta psi u1 u2 u3 u4 N = sym('n%d%d', [3 4]) T = [1 ...

2 months ago | 1

Answered

How to change the density of Simscape Multibody demos?

simmechanics.demohelpers.densities is a built-in matlab function. The output is a structure that contains the density of aluminu...

How to change the density of Simscape Multibody demos?

simmechanics.demohelpers.densities is a built-in matlab function. The output is a structure that contains the density of aluminu...

2 months ago | 0

Answered

How to create a single link manipulator model in Simulink?

Use two integrators in series. The input of the first integrator is acceleration, the output is velocity. The input of the secon...

How to create a single link manipulator model in Simulink?

Use two integrators in series. The input of the first integrator is acceleration, the output is velocity. The input of the secon...

2 months ago | 0

Answered

Modeling Simscape Spherical Air Bearings

Use the Spherical Joint in the Simscape Multibody to represent the air bearing.

Modeling Simscape Spherical Air Bearings

Use the Spherical Joint in the Simscape Multibody to represent the air bearing.

2 months ago | 0

Answered

Cannot update visualization,File Solid

Seems like SS MB should be able to import Unigraphics NX and STEP files https://www.mathworks.com/help/physmod/sm/ref/filesolid....

Cannot update visualization,File Solid

Seems like SS MB should be able to import Unigraphics NX and STEP files https://www.mathworks.com/help/physmod/sm/ref/filesolid....

3 months ago | 0

Answered

How to link simelectronics with sim multibody (to make electromechanical system)??

Connect a torque sensor and a PS-Simulink Converter block to the simelectronics. Use Simulink-PS converter and External Force an...

How to link simelectronics with sim multibody (to make electromechanical system)??

Connect a torque sensor and a PS-Simulink Converter block to the simelectronics. Use Simulink-PS converter and External Force an...

3 months ago | 0

Answered

Is it possible to apply an external force to different bodies of a multi-body system based known center of pressure coordinates?

Use a External Force and Torque block at each point the force is applied. You can use sensors to get forces and displacements an...

Is it possible to apply an external force to different bodies of a multi-body system based known center of pressure coordinates?

Use a External Force and Torque block at each point the force is applied. You can use sensors to get forces and displacements an...

3 months ago | 0

Submitted

Quaternions to Euler angles conversion

Convert quaternions to Euler angles using Z-Y-X rotation sequence

3 months ago | 4 downloads |

Answered

Sum of matrix signals in Simulink

Something wrong with the dB that comes in from Inport 2. The picture shows Inport 2 has a dimension of 1 instead of 5.

Sum of matrix signals in Simulink

Something wrong with the dB that comes in from Inport 2. The picture shows Inport 2 has a dimension of 1 instead of 5.

4 months ago | 0

Answered

Processing 2D into 3D matrix

You need to change the following statement x = 0:1:11 x has 12 elements but the modeshapes array only allows 11 elements in th...

Processing 2D into 3D matrix

You need to change the following statement x = 0:1:11 x has 12 elements but the modeshapes array only allows 11 elements in th...

4 months ago | 0

Answered

How can I produce a Torque signal to activate an External Force and Torque simulink block?

Connect a Solid to a Revolute joint. Change the Actuation-Torque property of the Revolute Joint to Provided by Input. You then a...

How can I produce a Torque signal to activate an External Force and Torque simulink block?

Connect a Solid to a Revolute joint. Change the Actuation-Torque property of the Revolute Joint to Provided by Input. You then a...

4 months ago | 0

Answered

How can I model a Whitworth quick return mechanism in SimScape?

Download this model and take a look: https://www.mathworks.com/matlabcentral/fileexchange/74465-whitworth-quick-return-mechanism...

How can I model a Whitworth quick return mechanism in SimScape?

Download this model and take a look: https://www.mathworks.com/matlabcentral/fileexchange/74465-whitworth-quick-return-mechanism...

4 months ago | 0

| accepted

Submitted

Whitworth Quick Return Mechanism

Simulate Whitworth Quick Return Mechanism with Simscape Multibody

4 months ago | 4 downloads |

Answered

Gauss Siedel code not working

Put three dots (...) after the = at line 20 to signal that line 21 is the continuation of line 20.

Gauss Siedel code not working

Put three dots (...) after the = at line 20 to signal that line 21 is the continuation of line 20.

4 months ago | 0

Answered

Arduino Encoder Application with Simulink Problem

You can use Simulink Delay block which store you last data. Type delay in the search box in the Simulink Library Browser to loca...

Arduino Encoder Application with Simulink Problem

You can use Simulink Delay block which store you last data. Type delay in the search box in the Simulink Library Browser to loca...

5 months ago | 1

| accepted

Submitted

CRC-16

A function to generate CRC-16 (16-bit Cyclic Redundancy Check)

5 months ago | 6 downloads |

Answered

How do I select only 100 images in a folder of 200 images, according to a list of 100 different names ?

Use the folllwoing command to get a structure that contains file information listing = dir('*.jpg'); Use the folllwoing comman...

How do I select only 100 images in a folder of 200 images, according to a list of 100 different names ?

Use the folllwoing command to get a structure that contains file information listing = dir('*.jpg'); Use the folllwoing comman...

5 months ago | 0

Answered

How to take mean of each row/column of matrix with while loop

You need to update i and j (add 1 to them) at the end of each while loop.

How to take mean of each row/column of matrix with while loop

You need to update i and j (add 1 to them) at the end of each while loop.

5 months ago | 0

| accepted

Answered

Help writing this integral

Use integral or trapz to integrate, then take the log. You need to find out the expression for p and the integration limits.

Help writing this integral

Use integral or trapz to integrate, then take the log. You need to find out the expression for p and the integration limits.

5 months ago | 0

Answered

Hello, I am getting this error. Can anyone please help me solving it? Thanks

I guess that the temperature units are 'K', 'degC', 'degF', etc.

Hello, I am getting this error. Can anyone please help me solving it? Thanks

I guess that the temperature units are 'K', 'degC', 'degF', etc.

5 months ago | 0

Answered

Difference between Simscape and Simulink

Simulink uses block diagram approach. The signal flow is unidirection. Simscape uses physical modeling approach. The signal flow...

Difference between Simscape and Simulink

Simulink uses block diagram approach. The signal flow is unidirection. Simscape uses physical modeling approach. The signal flow...

5 months ago | 0

Answered

How do you add physical signal lines programmatically?

use h1 = get_param('mymodel/mySubsystem/C_1','PortHandles'); to get the port handles. Use add_line to draw line between the hand...

How do you add physical signal lines programmatically?

use h1 = get_param('mymodel/mySubsystem/C_1','PortHandles'); to get the port handles. Use add_line to draw line between the hand...

6 months ago | 0

Answered

User-defined MATLAB function block in Simulink/Simscape

use a statement like z = t / k; % don't use x to get the argument for the table lookup. Then use interp1(x,y,z) to find your ...

User-defined MATLAB function block in Simulink/Simscape

use a statement like z = t / k; % don't use x to get the argument for the table lookup. Then use interp1(x,y,z) to find your ...

6 months ago | 1

| accepted

Answered

modelling in matlab of differential equation

you need an equation for dhw/dt, then use a matlab ode solver to solve the equations. see https://www.mathworks.com/help/matlab/...

modelling in matlab of differential equation

you need an equation for dhw/dt, then use a matlab ode solver to solve the equations. see https://www.mathworks.com/help/matlab/...

6 months ago | 0

Answered

step response of Linear parameter varying model's response different from the step response of original non linear plant

You probably didn't specify the "State derivative/update offset" correctly. You need to uncheck the "Assume equilibrium operatin...

step response of Linear parameter varying model's response different from the step response of original non linear plant

You probably didn't specify the "State derivative/update offset" correctly. You need to uncheck the "Assume equilibrium operatin...

7 months ago | 0

Answered

Offset ticks and gridlines

Use xticks to place the ticks at the left of each group, e,g,, xticks([0.5 1.5 2.5]). You can use xt = xticks to get the coordn...

Offset ticks and gridlines

Use xticks to place the ticks at the left of each group, e,g,, xticks([0.5 1.5 2.5]). You can use xt = xticks to get the coordn...

7 months ago | 0