Frage


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

etwa ein Jahr vor | 2 Antworten | 1

2

Antworten

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 4 Jahre vor | 0 Antworten | 0

0

Antworten

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

etwa 4 Jahre vor | 0

Frage


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

etwa 4 Jahre vor | 2 Antworten | 4

2

Antworten

Beantwortet
Error in exponential transfer function
Just a gentle bump, as this is still unresolved :)

etwa 4 Jahre vor | 0

Frage


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

etwa 4 Jahre vor | 2 Antworten | 0

2

Antworten

Beantwortet
Cannot save Fig as PNG -- Matlab bug?
Again, PNG does not work. Anyone have further thoughts?

fast 6 Jahre vor | 0

Frage


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

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 6 Jahre vor | 1 Antwort | 1

1

Antwort

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

etwa 6 Jahre vor | 0

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

mehr als 6 Jahre vor | 0

Frage


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

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


'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: "----------------------...

etwa 7 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 8 Jahre vor | 0 Antworten | 0

0

Antworten

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

fast 8 Jahre vor | 0

Frage


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

fast 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

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

mehr als 9 Jahre vor | 0

Frage


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

mehr als 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 9 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 1

1

Antwort

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

mehr als 9 Jahre vor | 0

Mehr laden