Question


LQI(): integrator response not as expected
I have a simple 2nd-order spring/mass/damper system in closed-loop configuration, that works as expected under LQR control; see ...

presque 2 ans il y a | 3 réponses | 1

3

réponses

Question


Transfer Function: Continuous approximation of discrete bode
Is there a straightforward way to create a continuous-time transfer function (TF) from a discrete-time TF, that matches the disc...

presque 3 ans il y a | 1 réponse | 0

1

réponse

Question


Estimate first order transfer function from Phase at Frequency
What command would I use to estimate a first order transfer function (TF), from a known Phase at Frequency? The TF is known o...

presque 3 ans il y a | 1 réponse | 0

1

réponse

Question


Find Bode Phase of Uncertainty models
How can I find the phase programatically, of an Uncertainty plot like this one? This transfer function is build using the Robust...

environ 3 ans il y a | 1 réponse | 0

1

réponse

Question


Manipulating "Uncertain" (ureal) plots
I'm using the Robust Control toolbox to plot uss (uncertain parameter) functions creating with ureal. Using eg Bode() will aut...

environ 3 ans il y a | 1 réponse | 0

1

réponse

Question


Simulink is optimizing out simple blocks -- why?
I'm trying to understand why Simulink is optimizing out simple blocks. This is a basic discrete filter. None of the input coef...

presque 5 ans il y a | 1 réponse | 0

0

réponse

Réponse apportée
Error in exponential transfer function
Interesting, thanks for the reply Walter. Could you clarify? I'm missing something basic here -- so I'd like to understand bett...

environ 5 ans il y a | 0

Question


Bug: Simulink 2019b crashes when accessing plot
On OSX (latest version), Simulink 2019b repeatedly crashes when accessing a plotted scope output. The model is basic: a step ...

environ 5 ans il y a | 2 réponses | 4

2

réponses

Réponse apportée
Error in exponential transfer function
Just a gentle bump, as this is still unresolved :)

environ 5 ans il y a | 0

Question


Error in exponential transfer function
I'm having difficulty implementing certain transfer functions in non-state-space form: Eg 1 - exp(-s) or exp(-s) + 1 Basi...

environ 5 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
Cannot save Fig as PNG -- Matlab bug?
Again, PNG does not work. Anyone have further thoughts?

plus de 6 ans il y a | 0

Question


Cannot save Fig as PNG -- Matlab bug?
I think there's a problem with Matlab. I'm unable to save a figure as png, using the basic command "saveas(gcf, 'test.png')". Th...

plus de 6 ans il y a | 1 réponse | 0

1

réponse

Question


Bug in Persistent variables? Simulink M-function
I am unable to initialize a Persistent variable. Here's a snippet of code in a Simulink M-function which does not actually set '...

environ 7 ans il y a | 1 réponse | 1

1

réponse

Réponse apportée
Bug in Persistent variables? Simulink M-function
Okay, now I'm certain it's a BUG. The code WILL -- or will NOT -- properly initialize a variable depending on where it is loca...

environ 7 ans il y a | 0

Réponse apportée
Why is my serial port not recognized with MATLAB on Linux or Solaris?
This doesn't seem to work on Ubuntu 64-bit. Since i need a fixed port in my code for each of many devices, I created a symbolic ...

environ 7 ans il y a | 0

Question


Vectors to Contour3...confused
I have 3 linked vectors from physical data: call them vectors a,b,c. A given cell entry across a,b,c are linked (taken at the sa...

plus de 7 ans il y a | 1 réponse | 0

0

réponse

Question


'syms' not working, but I do have the Symbolic Math Toolbox
*I have the symbolic math toolbox*, but 'syms' isn't working. How can I fix this? VER info below: "----------------------...

environ 8 ans il y a | 2 réponses | 0

2

réponses

Question


Simulink: Function Handles Not Supported!
I have a lengthy Matlab program, parts of which I'd like to embed into a Simulink program. In the Matlab program there are numer...

plus de 8 ans il y a | 1 réponse | 0

0

réponse

Réponse apportée
Matlab crashes Ubuntu system
It turns out that my 32 GB system is out of RAM. allvars = whos; memused_bytes = sum([allvars.bytes]) memused_GB = me...

presque 9 ans il y a | 0

Question


Matlab crashes Ubuntu system
R2014A crashes my ubuntu system so hard, that I have to physically pull the plug. It's reproducible and happens every time. Afte...

presque 9 ans il y a | 1 réponse | 0

1

réponse

Question


Different results for Simulink's External and Normal mode!
In Real-Time Windows Target (Simulink), a simple DC motor model works fine in Normal mode (unit step input), but becomes unstabl...

plus de 10 ans il y a | 1 réponse | 0

1

réponse

Question


Packet Input (Simulink) returning 0s
EDIT: This works in Normal mode, but not External mode! In External Mode, the Packet Input block in Simulink only returns 0s ...

plus de 10 ans il y a | 1 réponse | 0

1

réponse

Question


External Mode scope traces (Simulink)
Why does data not show up on a scope in External Mode, in a simple Real-Time Windows Target application (in Simulink)? First ...

plus de 10 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
Simulink Encoder Block outputting pulses only?
Thanks for the reply and thoughts. In "Board Setup" there are two counters to configure: Counter 0 Mode and Counter 1 Mode. I ha...

plus de 10 ans il y a | 0

Question


Simulink Encoder Block outputting pulses only?
The Simulink "Encoder Input" block (Real-Time Windows Target toolbox) seems to output pulses only when the encoder is turned. I...

plus de 10 ans il y a | 2 réponses | 0

2

réponses

Question


How to get custom library to show up in Simulink Library Browser?
If you make an .mdl or .xls model file in Simulink, how can you make it show up in the library browser for easy insertion into d...

plus de 10 ans il y a | 1 réponse | 0

1

réponse

Question


Convert Floating Point (Double) to array in Simulink?
The net yielded no results for this question... In Simulink, how do you convert a floating point value (eg 1.234) into an array...

plus de 10 ans il y a | 1 réponse | 0

0

réponse

Question


Analog Output block keeps timing out (glitches)
Using the Analog Output block in Real-Time Windows Target run in Normal mode, I always get flat-waveform glitches that last ~50 ...

plus de 10 ans il y a | 1 réponse | 0

1

réponse

Question


SIMULINK: send string via Stream Output
How are strings sent to serial devices in Simulink? If I have a string that's of length N, all ASCII characters, how can I speci...

plus de 10 ans il y a | 1 réponse | 1

1

réponse

Réponse apportée
Memory leak from plotting?
But as I said, i'd like to keep the previous lines on-screen. That link only gives ideas for clearing or modifying the current o...

plus de 10 ans il y a | 0

Charger plus