Doug Eastman

MathWorks

Active since 2011

Followers: 0   Following: 0

Message

Statistics

All
  • First Review
  • 3 Month Streak
  • Revival Level 1
  • Knowledgeable Level 4
  • First Answer
  • Solver

View badges

Feeds

View by

Answered
Strange behavior: gain bocks which integrate step inputs
The issue with the lines being slanted is due to the fact that Simulink sees these signals as continuous so it will connect the ...

11 years ago | 0

| accepted

Answered
How do I change Design Verifier default confinguration parameter preferences?
Hi Erik, I don't know of a way to set the default options for Simulink Design Verifier, however using the command line versio...

12 years ago | 0

Answered
Why does XY Graph affect algebraic loop solver?
The problem is that adding blocks to your model (such as the XY Graph) causes the <http://www.mathworks.com/help/simulink/ug/con...

12 years ago | 0

| accepted

Answered
How can I set that only one of the subservers can be used at a time?
Here are two possibilities: 1) Do you really need two separate server blocks? The simplest solution might be to set an entity...

12 years ago | 0

Answered
How to retrieve a subblock name at initalization.
Another simpler option might be to just use a constant block with the value: uint8('LookupKey') You could then hide the ...

12 years ago | 0

Answered
SINEWAVE IN SCOPE (simscape)
To see the sinusoidal voltage variation you need to reduce the step size of the simulation. Go to Simulation -> Configuration Pa...

12 years ago | 2

| accepted

Answered
How do I run a simulink model in real-time in normal mode
Running in real-time in normal mode is a new feature of Real-Time Windows Target in R2012a. To run in real-time you do need to a...

12 years ago | 0

Answered
How to close Simulink model subsystems
Assuming your top-level model is called TopModel you could use: a = find_system('Parent','TopModel'); close_system(a)

12 years ago | 0

Answered
Analog circuits in Simulink
The error seems to indicate that you are missing a solver block, but you have one in the image you've attached. For the case of ...

12 years ago | 0

| accepted

Answered
Moving from video to 3D Environment
<http://www.mathworks.com/products/3d-animation/demos.html Simulink 3D Animation> should allow you to do what you are looking fo...

12 years ago | 0

| accepted

Answered
xpc target
Yes, you have the basic idea correct. If you haven't already I recommend reading through the <http://www.mathworks.com/products/...

13 years ago | 0

Answered
Multiprocessing in Simulink
The primary mechanism to leverage a multi-core or multi-processor system with Simulink is to run multiple simulations in paralle...

13 years ago | 1

| accepted

Answered
Using 'From Multimedia File', how to split the channels
Demux only works with vectors, but this signal is a matrix. You can use two Selector blocks. Set the input dimensions to 2, sele...

13 years ago | 0

Answered
pass a parameter to a masked subsystem
Here are two options: 1. Calculate the derived values directly in the blocks that need them in the subsystem. For example, ma...

13 years ago | 0

Answered
Boolean Filter
This sounds similar to a debounce circuit. Here are some other related answers that should help you: * <http://www.mathworks....

13 years ago | 0

Answered
SimPowerSys: Modify the Asynchronous machine
The blocks underneat the Asynchronous machine (Mechanical model, Electrical model) are what's know as <http://www.mathworks.com/...

13 years ago | 2

Answered
signal builder: repeat a signal for n times in one simulation (not to be confused with running in succession)
Currently the only options for extending the signal beyond the time range in which it is defined in the Signal Builder block are...

13 years ago | 0

Answered
Simulate potency
Rather than a regular Resistor block, put a Current Sensor in series with a Variable Resistor. Square the measured current using...

13 years ago | 0

Answered
Difference between setappdata and guidata?
You can look at the code for GUIDATA by typing edit guidata You'll notice that GUIDATA calls SETAPPDATA, it just provide...

13 years ago | 2

Answered
measure data size in simulink
Also, if you need that value as a signal in the Simulink model you can use the <http://www.mathworks.com/help/releases/R2011a/to...

13 years ago | 1

| accepted

Answered
My functions Won't Share Variables
You can share the workspace of the main GUI function with the subfunctions fun1-5 by making those subfunctions <http://www.mathw...

13 years ago | 0

Answered
How do I display a MATLAB error from a Simulink Model?
You could also use the the blocks in the Model Verification library, such as <http://www.mathworks.com/help/releases/R2011a/tool...

13 years ago | 1

Answered
How to detect sequence signal explicitly
If you are using R2010a or later you can use the Relational Operator block in Logic and Bit Operations to compare the vector V a...

13 years ago | 1

| accepted

Answered
Hold True Value for finite length of time
The easiest solution is using Stateflow: create two states off and on, transition from off to on when the signal is tripped, the...

13 years ago | 1

| accepted

Answered
save the variables whose names are always changing over different loops
If you are saving each value to disk as a separate file, the only thing you need to change is the filename. You can reuse the sa...

13 years ago | 1

| accepted

Answered
Distribution sampling
I'm not a statistics expert but I believe randomly sampling a set of data should come close to preserving the distribution and c...

13 years ago | 0

Answered
How do I run a simulation with a transfer function block and a multi dimensional input ?
Another option is to discretize the transfer function because a discrete transfer function does allow a vector input signal. ...

13 years ago | 4

Answered
Numerical difference between Matlab result and MS Excel result
When I type '123456789123456789' in a numeric field in Excel, I get 123456789123456000. The issue is due to floating point data ...

13 years ago | 1

Answered
Weird imshow image. same pixel value different color
C is double so the default range for imshow is between 0 and 1, but your values are between 0 and 255. You can either specify th...

13 years ago | 1

| accepted

Answered
Not sensible to short time FALSE
It sounds like you are trying to create debounce logic where you only want to go low if the input is held low for a certain peri...

13 years ago | 0

Load more