답변 있음
Difference between voltage and capacitor voltage
Notice how the block has a "Series resistance" parameter? It means you can configure the block to have a resistor in series. ...

대략 10년 전 | 1

| 수락됨

답변 있음
[Simscape] Are there ways to build segmented/discretised models with n as a block/mask parameter
I've personally done this with the new Two-Phase Fluid domain in Simscape, which is basically the same thing. To make a long...

대략 10년 전 | 1

| 수락됨

답변 있음
Using a From Workspace block inside an enabled subsystem
I don't think you're able to do this directly with the From Workspace block. All these blocks output data by looking at the curr...

대략 10년 전 | 0

답변 있음
Simscape: The derivative of position in a direction not equal to the velocity
In general, I wouldn't trust the Derivative block's results very much. This block only does an approximate derivative of a signa...

대략 10년 전 | 0

답변 있음
How c2d() convert a s-function to discreted z-function(with the "zoh" set)?
"ZOH" stands for zero-order hold. Discretization occurs by assuming that there is a constant input held for the duration of the ...

대략 10년 전 | 0

답변 있음
We are designing a wheeled robot using SimMechanics. How to model rolling wheels in SimMechanics?
What you need to do is define a relationship between the spinning of the wheels and the motion of the wheeled robot. You can ...

대략 10년 전 | 2

| 수락됨

답변 있음
ROS toolbox in the windows OS communicate with ROS in the ubuntu OS
That Wiki hasn't been updated in almost 2 years. Since then, MathWorks released an official <http://www.mathworks.com/products/r...

대략 10년 전 | 0

답변 있음
How to generate a Ramp signal using Simulink blocks?
There is a Ramp block in Simulink: http://www.mathworks.com/help/simulink/slref/ramp.html - Sebastian

대략 10년 전 | 0

답변 있음
how do i specify initial conditions for a 2*2 system in matlab without opening the model in simulink. how do i linearize a 2*2 system in matlab without opening the model in simulink.
Easiest thing to do is to use MATLAB variables for the initial conditions in your Integrator blocks... for example |x1_init| and...

대략 10년 전 | 0

| 수락됨

답변 있음
How to programmatically comment/uncomment a Simulink block?
Yes, you can do set_param(blockName,'Commented','on') set_param(blockName,'Commented','off') ... or if the block has ...

10년 초과 전 | 9

| 수락됨

답변 있음
Change Dynamics of Pressure Reducing Valve Block in SimHydraulics (R2013a)
In R2015a, SimHydraulics added valve opening dynamics in pressure relief valves. This gives you the exact option you are looking...

10년 초과 전 | 0

답변 있음
Accumulator providing flow even when system pressure is sufficiently above preload pressure.
My understanding is that an accumulator connected directly to a system will still have some flow. A typical way to have more con...

10년 초과 전 | 0

답변 있음
Problem with getting a closed loop Simulink LQR response same as with an m.file
Recall that LQR is a full-state feedback approach, but your C matrix is 1-by-2, meaning it only produces one output even though ...

10년 초과 전 | 0

답변 있음
How can I programmatically set the "analysis mode" of the "machine environment" block in a Simulink model based on SimMechanics using a Matlab script?
Yes, you can use the following syntax: >> blockName = 'myModel/Machine Environment'; >> type = get_param(blockName,'An...

10년 초과 전 | 0

답변 있음
load torque and Asynchronous Machine Squirrel Cage (fundamental, SI)
You should add an <http://www.mathworks.com/help/physmod/simscape/ref/idealtorquesource.html Ideal Torque Source> block between ...

10년 초과 전 | 0

답변 있음
Is it possible to get correct result in simulink if derivative block is used to obtain the derivative of a signal? If not how to obtain derivative of signals in matlab/simulink?
The Derivative block only approximates a derivative and can therefore be very unstable when the derivative of a signal is high. ...

10년 초과 전 | 1

답변 있음
what is difference between dlinmod and dlinmodv5? which is better for linearization?
According to the |dlinmod| <http://www.mathworks.com/help/simulink/slref/dlinmod.html documentation>, using |v5| invokes a pertu...

10년 초과 전 | 0

답변 있음
How can i create open loop system using simulink?
You can use a PID Controller block and put it in a feedback loop as shown in the following link: http://www.mathworks.com/hel...

10년 초과 전 | 0

답변 있음
How can connect a SImMechanics modell with a ROS?
If you have R2015a or later, there's the <http://www.mathworks.com/products/robotics/ Robotics System Toolbox>. Parts of this...

10년 초과 전 | 0

답변 있음
where can i find psat toolbox in matlab R2015b?
PSAT isn't a MathWorks toolbox. This seems to be the PSAT Web site if you want to download it, though: http://faraday1.ucd.ie/ps...

10년 초과 전 | 0

| 수락됨

답변 있음
H-bridge, pwm matlab 2014
Yes, there are. I'd take a look at SimElectronics -- in particular, this example. http://www.mathworks.com/examples/simelectr...

10년 초과 전 | 0

답변 있음
A good exaplme for distance driver for SimMechanics (second generation) ?
To replace the functionality of the Distance Driver block, you want to use motion actuation in SimMechanics 2G. http://blogs....

10년 초과 전 | 0

답변 있음
What is bad in model? Diode bridge
The structure of the model looks fine to me, although there seem to be other blocks over to the right that could also be affecti...

10년 초과 전 | 0

| 수락됨

답변 있음
Run Simulink iteration by iteration in MATLAB script
When you run a Simulink model from the command-line, it always runs the whole thing. There are some pause/continue controls, but...

10년 초과 전 | 0

| 수락됨

답변 있음
Simulink models auto simulation?
You can always write MATLAB code that loops through variable values and runs the Simulink model multiple times: http://www.ma...

10년 초과 전 | 0

| 수락됨

답변 있음
Stateflow making simulation slow
When a Stateflow chart is open it will animate with some delay. In the latest versions, you can select "Simulation > Stateflow a...

10년 초과 전 | 2

답변 있음
Set simulation time and fixed step size for a Simulink model from the command line
If you open the model's Configuration Parameters, for each parameter you can right-click and select "What's This?". This will op...

10년 초과 전 | 19

| 수락됨

답변 있음
Dynamic thresholds setting for relay
I don't think there's a built-in one, but you can make your own as shown below. "on" and "off" are your outputs when on and ...

10년 초과 전 | 3

답변 있음
Choosing between two separate joints with a switch? Simmechanics 2nd gen
Suppose you want to switch between a Planar (PX, PY, RZ) and 6-DOF (PX, PY, PZ, RX, RY, RZ) joint. The only approach I know o...

10년 초과 전 | 0

| 수락됨

답변 있음
Use "Fixed step" in a block diagram, which contains continuous states
You can go to the "Solver Configuration" block connected to the SimMechanics model and enable the "Use local solver" option. Thi...

10년 초과 전 | 0

| 수락됨

더 보기