Réponse apportée
Simscape Results Explorer not showing entire simulation data
Select Model Settings tab. Click Simscape. Uncheck "Limit data points" box.

environ 2 ans il y a | 0

| A accepté

Réponse apportée
Can I read voltage and current measurement from simulink model that containts a model of connections in Arduino Uno?
Use the Analog Input block froo the Simulink Support Package for Arduino.

environ 2 ans il y a | 0

| A accepté

Réponse apportée
Simscape vehicle body incline angle
Connect a Simulink signal source block through a Simulink-PS Converter block (in Simscape-Utilities) to the beta port.

plus de 2 ans il y a | 0

Réponse apportée
How to measure output torque of a gear in simscape multibody?
Choose the Total Torque in the Composite Force/Torque Sensing tab.

plus de 2 ans il y a | 0

Réponse apportée
How to visualize movement that occurred by reaction force with Simscape multibody?
The grey cube should move if it is not fixed and connected to the arm through a revolute joint. The motion maybe too small for y...

plus de 2 ans il y a | 0

Réponse apportée
Cannot find "body" block on Simscape
No sure what is the Body block in R2017. You can find Mass and Inertia blocks in the Simscape Foundation Library - Mechanical - ...

plus de 2 ans il y a | 0

| A accepté

Question


PID Tuner couldn't find a stabilizing controller
The PID block in the attached Simulink file stabilizes the plant (the plant is defined in the call back). However, the PID Tuner...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
How to rotate an image in Matlab
You basically read the image into a matrix, then change the array element to a different location (swich row to column, etc.)

plus de 2 ans il y a | 0

Réponse apportée
Clock on Mechanics Explorer Video
A simple solution is to do a screen recording that includes the Time display at the bottom of the Mechanics Explorer. Powerpoint...

plus de 2 ans il y a | 0

Réponse apportée
Automaticly change of actuation of joints in Simscape multibody.
Use name = gcb to get block names (select a block first) Use get_param(name,'DialogParameters') to get parameter names. The par...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
Finding natural frequency and mode shape of damped 4 degree of freedom
Use F=ma to develop the differntial equations for m1, m2. Use F=ma and M=Iw for m3. The natural frequencies and mode shapes are ...

plus de 2 ans il y a | 0

Réponse apportée
Design a Transmission Shift Controller
Use a MATLAB Function block in SImulink. You can put the logic in the block. Persist variables could be useful (link).

plus de 2 ans il y a | 0

Réponse apportée
How do i add a drive cycle in simscape to a genric engine.
You need a controller that compare the desired and measured speeds to generate the throttle command. This is not a trivial task....

plus de 2 ans il y a | 0

Réponse apportée
How to find pressure at every section of pipes in series in simscape? One end of pipe is connected to a constant pressure source and another end is open to the atmosphere
Use the Hydraulic Pressure Sensor block in the Simscape Fundation Library - Hydraulic.

plus de 2 ans il y a | 0

Réponse apportée
G ports in simulink?
To get the G port: open the Spherical Solid block. Expand the Export under the Geometry and check the Entire Geometry box.

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
Multiple Joints on flexible parts in Simscape Multibody
You can add new frames to the body elements. The new frames will have new associated ports. You can apply the forces at these po...

plus de 2 ans il y a | 0

Réponse apportée
Is it a reliable number when pid tuning is performed using simscape multibody?
The Simulink PID block correctly implement a PID control. You specify the gains in the block dialog box.

plus de 2 ans il y a | 0

Réponse apportée
Moment of inertia with coordinates
Moment of inertia is or , where m is the mass, r is the distance to the rotation axis.

plus de 2 ans il y a | 0

Réponse apportée
Is there another way to increase the mass flow rate on simscape?
You need to understand the physics. Flow rate and pressure are related. The pressure in a volume is determined by in and out flo...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
How to draw a Motor efficiency map having speed, torque and efficiency?
Use contour(x,y,z), where x, y need to be in grid corrdinate. You can study the following example for the grid coordinate x = 1...

plus de 2 ans il y a | 0

Réponse apportée
Combining Simscape-Simulink Matlab versions 2018 and 2021
Replace the hard stop block with the hard stop block in the 2021a Simulink Library Browser.

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Connection between current measurement and sum block
Use a PS-Simulink Converter block https://www.mathworks.com/help/physmod/simscape/ref/pssimulinkconverter.html#:~:text=The%20PS%...

plus de 2 ans il y a | 0

Réponse apportée
Simscape Multibody, Transform Sensor, quaternion output
Take a look at this: https://www.mathworks.com/matlabcentral/answers/415936-angle-between-2-quaternions

presque 3 ans il y a | 0

Réponse apportée
Would it be possible to change the greyscale to a blue scale?
Take a look at the colormap command - https://www.mathworks.com/help/matlab/ref/colormap.html

presque 3 ans il y a | 0

Réponse apportée
The following code is not giving errors, but it does not solve the system of equations.
In order to solve a system of equations, the number of equations needs to equal the number of variables. You also need ==0 for t...

presque 3 ans il y a | 0

Réponse apportée
Solving a system of three second order coupled differential equation
Use as states and express the derivatives of the states as functions of the states, e.g., d/dt()=etc.

presque 3 ans il y a | 0

Réponse apportée
Solving ODE with sqrt
If you know how to solve an ODE in Matab, the problem might be negative values for the sqrt().

environ 3 ans il y a | 0

Réponse apportée
how to get eigenvalues and plot it
Use a loop to calculate and store the eigenvalues for each time point. Plot the data outside the loop.

environ 3 ans il y a | 0

| A accepté

Réponse apportée
Does Simscape Multibody enable torsion system modeling consisting of 2 or 3 rotating masses / inertias connected by spring and damper elements?
Connect the inertias with revolute joints and specify the spring stiffness and damping coeficient in the joint parameters.

environ 3 ans il y a | 0

Réponse apportée
Singularity error encountered when calculating inverse dynamics of a elastic joint.
Probably better to specify the desired angle at the output port (F port) of the Torsional elastiticity & damping block. You can ...

environ 3 ans il y a | 0

Charger plus