Respondida
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. ...

alrededor de 10 años hace | 1

| aceptada

Respondida
[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...

alrededor de 10 años hace | 1

| aceptada

Respondida
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...

alrededor de 10 años hace | 0

Respondida
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...

alrededor de 10 años hace | 0

Respondida
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 ...

alrededor de 10 años hace | 0

Respondida
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 ...

alrededor de 10 años hace | 2

| aceptada

Respondida
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...

alrededor de 10 años hace | 0

Respondida
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

alrededor de 10 años hace | 0

Respondida
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...

alrededor de 10 años hace | 0

| aceptada

Respondida
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 ...

alrededor de 10 años hace | 9

| aceptada

Respondida
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...

alrededor de 10 años hace | 0

Respondida
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...

alrededor de 10 años hace | 0

Respondida
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 ...

alrededor de 10 años hace | 0

Respondida
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...

alrededor de 10 años hace | 0

Respondida
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 ...

alrededor de 10 años hace | 0

Respondida
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. ...

alrededor de 10 años hace | 1

Respondida
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...

alrededor de 10 años hace | 0

Respondida
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...

alrededor de 10 años hace | 0

Respondida
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...

alrededor de 10 años hace | 0

Respondida
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...

alrededor de 10 años hace | 0

| aceptada

Respondida
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...

más de 10 años hace | 0

Respondida
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....

más de 10 años hace | 0

Respondida
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...

más de 10 años hace | 0

| aceptada

Respondida
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...

más de 10 años hace | 0

| aceptada

Respondida
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...

más de 10 años hace | 0

| aceptada

Respondida
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...

más de 10 años hace | 2

Respondida
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...

más de 10 años hace | 19

| aceptada

Respondida
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 ...

más de 10 años hace | 3

Respondida
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...

más de 10 años hace | 0

| aceptada

Respondida
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...

más de 10 años hace | 0

| aceptada

Cargar más