Réponse apportée
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. ...

plus de 10 ans il y a | 1

| A accepté

Réponse apportée
[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...

plus de 10 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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 ...

plus de 10 ans il y a | 0

Réponse apportée
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 ...

plus de 10 ans il y a | 2

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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 ...

plus de 10 ans il y a | 9

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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 ...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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 ...

plus de 10 ans il y a | 0

Réponse apportée
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. ...

plus de 10 ans il y a | 1

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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....

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 2

Réponse apportée
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...

plus de 10 ans il y a | 19

| A accepté

Réponse apportée
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 ...

plus de 10 ans il y a | 3

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Charger plus