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

etwa 10 Jahre vor | 1

| akzeptiert

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

etwa 10 Jahre vor | 1

| akzeptiert

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

etwa 10 Jahre vor | 0

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

etwa 10 Jahre vor | 0

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

etwa 10 Jahre vor | 0

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

etwa 10 Jahre vor | 2

| akzeptiert

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

etwa 10 Jahre vor | 0

Beantwortet
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

etwa 10 Jahre vor | 0

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

etwa 10 Jahre vor | 0

| akzeptiert

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

etwa 10 Jahre vor | 8

| akzeptiert

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

etwa 10 Jahre vor | 0

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

etwa 10 Jahre vor | 0

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

etwa 10 Jahre vor | 0

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

etwa 10 Jahre vor | 0

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

etwa 10 Jahre vor | 0

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

etwa 10 Jahre vor | 1

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

etwa 10 Jahre vor | 0

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

etwa 10 Jahre vor | 0

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

etwa 10 Jahre vor | 0

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

etwa 10 Jahre vor | 0

| akzeptiert

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

etwa 10 Jahre vor | 0

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

etwa 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 0

| akzeptiert

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

mehr als 10 Jahre vor | 0

| akzeptiert

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

mehr als 10 Jahre vor | 0

| akzeptiert

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

mehr als 10 Jahre vor | 2

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

mehr als 10 Jahre vor | 19

| akzeptiert

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

mehr als 10 Jahre vor | 3

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

mehr als 10 Jahre vor | 0

| akzeptiert

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

mehr als 10 Jahre vor | 0

| akzeptiert

Mehr laden