已回答
inherit from two classes simscape
Try the following: component MyComponent < MyBaseComponent1 % component implementation here end component MyExtend...

5 years 前 | 0

已回答
How to simulate a variable load
Nonlinear spring is the way to go if you want the force as a function of displacement.

5 years 前 | 0

已回答
How to fix an invalid data type
The winedata may contain some strange characters. Carefully exame elements of windata. Command class(A) should return 'double'. ...

5 years 前 | 0

已回答
Integral Approximation Equation Using Loop
Generate a vector x=[0 1/N 2/N ... 1]. Calculate corresponding y for each element of x. Use the trapezoid rule to add all the y...

5 years 前 | 0

已回答
Help in finding the matrix
You can use [row,col]=find( ) to get the location and use == to compare numbers

5 years 前 | 0

已回答
Simscape tablelookup input value
Several options: 1) use the Simscape built-in PS Lookup Table (2D) block instead of a custom block. 2) study the example here. 3...

5 years 前 | 0

已回答
Vector input in Simscape Revolute Joint
You can specify the motion of the joint: expand the Actuation, set Torque to Automically Computed and Motion to Provided by Inpu...

5 years 前 | 0

已回答
How can I connect an Hydraulic connection to my Tire model ?
The brake pressure port at the wheel model needs a simulink signal. The Simscape hydraulic system outputs phsical signals. You n...

5 years 前 | 0

已回答
Can I use Simscape for a system dynamic model similar to representing a system by differential equations in Simulink?
There are two ways to use Simscape. 1: use the blocks in the Simscape library. You don't need to write any differential equation...

5 years 前 | 0

| 已接受

已回答
How to get eigenvalues and eigenvectors from a mass and spring model build by simscape?
You should be able to get the system matrices (A, B, C, D) for your linerized model. The eigenvalues for A can then be calculate...

5 years 前 | 0

已回答
How can I get date and time from Nist server?
str = char(tcpdata) will convert the ascii code to a string. str(8:15) will give you the date. str(17:24) will give you the tim...

5 years 前 | 2

| 已接受

已回答
Ode solver varying parameters
You put the derivative calculation in a file such as fcn.m, function dx = fcn(t,x) dx = zeros(3,1); p7 = t; %p7=a*b^y*c^z; ...

5 years 前 | 0

提问


Input a structure variable to a Matlab Function block
How can I input a structure variable (struct data type) to a Matlab Function block? The document states that I specify the param...

5 years 前 | 1 个回答 | 0

1

个回答

提问


Pyramid shape solid in Simscape Multibody
Is it possible to generate a pyramid shape solid in Simscape Multibody without using an imported CAD file?

5 years 前 | 1 个回答 | 0

1

个回答

已回答
Degenerate mass distribution error with Simulink Simscape Multibody joints
This might help you https://www.mathworks.com/matlabcentral/answers/244110-model-walking-body-in-simulink#answer_193147

5 years 前 | 1

已回答
How to animate the simulation of a multibody system if I have already setup the simulink model of my system (not using simcape)?
A possible solution is to use multiple Cartensian Joints and Gimbal Joints in the Simscape Multibody. Set the Force and Moton fi...

5 years 前 | 0

已回答
Double derivative of a vector of variables in Simscape components.
I would say you must use the second approach: variables eta = {zeros(4,1),'m'}; d_eta = {zeros(4,1),'m/s'}; en...

5 years 前 | 0

已回答
after import robot from urdf ,how can i sent angles to the joints ,and test my own kinermatic algorithm?
'importrobot' imports files into Robostics System toolbox while 'smimport' imports files into Simscape Multibody (was named SimM...

5 years 前 | 1

| 已接受

已提交


Crank and Slider Mechanism
Simscape Mutibody demo

6 years 前 | 8 次下载 |

Thumbnail