Professional Interests: Simulink, Model-Based Design

Submitted

Parallel Computing with Simulink: Model Reference Build

These files accompany my blog post of the same name.

mer än 3 år ago | 1 download |

Submitted

3-D DataViz Contest Animation

Scatter plot of results, CPU Time and node count in 3-D, turned into an animated GIF.

mer än 3 år ago | 1 download |

Submitted

Hierarchical Symbol Resolution

Example model that shows hierarchical symbol resolution in action.

mer än 3 år ago | 2 downloads |

Submitted

Bus Copies Explained

These files accompany the Seth On Simulink® blog post of the same name.

mer än 3 år ago | 1 download |

Submitted

Simulink Diagnostics Examples

Example models that show the use of diagnostics to improve the model.

mer än 3 år ago | 0 downloads |

Submitted

Accurate Modeling in Simulink

These files accompany the November 2006 article in MATLAB Digest

mer än 3 år ago | 3 downloads |

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

mer än 8 år ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

mer än 8 år ago

Solved

Weighted average

Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

mer än 8 år ago

Solved

How to find the position of an element in a vector without using the find function

Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

mer än 8 år ago

Answered

Character Variables in Simulink

While characters are not a type you can use on a signal line, you can cast them to an Int8 and then work with that. No blocks i...

Character Variables in Simulink

While characters are not a type you can use on a signal line, you can cast them to an Int8 and then work with that. No blocks i...

mer än 8 år ago | 2

Answered

FFT not matching with Continuous FT

Computing the correct scaling of the FFT is difficult as you must also account for the length of the signal data. This is exp...

FFT not matching with Continuous FT

Computing the correct scaling of the FFT is difficult as you must also account for the length of the signal data. This is exp...

nästan 9 år ago | 0

Answered

Time dependent switch

Use the output of the Clock as the control signal for the switch. Then the threshold can be set to the time you would like it t...

Time dependent switch

Use the output of the Clock as the control signal for the switch. Then the threshold can be set to the time you would like it t...

nästan 9 år ago | 1

Answered

Matlab Compiler And Simulink

The SIM and SIMSET command can not be called from the MATLAB Compiler (This is documented <http://www.mathworks.com/help/compile...

Matlab Compiler And Simulink

The SIM and SIMSET command can not be called from the MATLAB Compiler (This is documented <http://www.mathworks.com/help/compile...

nästan 9 år ago | 2

Question

What configuration management system do you use for Model-Based Design?

Model-Based Design produces multiple files that require managing them through version control, and configuration management. Wi...

nästan 9 år ago | 3 answers | 1

Answered

Recommendations for Automation Tools... Missing

This section of the MAAB guidelines "recommends" to *tool builders* that they provide a table reporting the level of compliance ...

Recommendations for Automation Tools... Missing

This section of the MAAB guidelines "recommends" to *tool builders* that they provide a table reporting the level of compliance ...

ungefär 9 år ago | 0

| accepted

Answered

simulink library browser blocks gone

This could be the result of a corruption of the library browser repositories. These can be regenerated by deleting or renaming ...

simulink library browser blocks gone

This could be the result of a corruption of the library browser repositories. These can be regenerated by deleting or renaming ...

ungefär 9 år ago | 0

Answered

Simulink library browser shows "No blocks"

This could be the result of a corruption of the library browser repositories. These can be regenerated by deleting or renaming ...

Simulink library browser shows "No blocks"

This could be the result of a corruption of the library browser repositories. These can be regenerated by deleting or renaming ...

ungefär 9 år ago | 0

Answered

Simulink Model

Models will evaluate blocks multiple times in the same time step when there are algebraic loops. Turn the algebraic loop diagno...

Simulink Model

Models will evaluate blocks multiple times in the same time step when there are algebraic loops. Turn the algebraic loop diagno...

ungefär 9 år ago | 1

Answered

sum function

The <http://www.mathworks.com/help/toolbox/simulink/slref/add.html Sum block> can operate on a vector signal, summing all the el...

sum function

The <http://www.mathworks.com/help/toolbox/simulink/slref/add.html Sum block> can operate on a vector signal, summing all the el...

ungefär 9 år ago | 0

Answered

Simulink modeling problem

# Rewrite the equations as a system of first order derivatives. (Your equations are already in this form) # Add integrators to...

Simulink modeling problem

# Rewrite the equations as a system of first order derivatives. (Your equations are already in this form) # Add integrators to...

ungefär 9 år ago | 0

| accepted

Answered

demux

If your multiplex operation is using the SUM block, you will have a hard time separating the impulses. It may be possible to de...

demux

If your multiplex operation is using the SUM block, you will have a hard time separating the impulses. It may be possible to de...

ungefär 9 år ago | 0

Answered

Wireless webcam integration for Real-Time Windows Target

You can use the <http://www.mathworks.com/help/toolbox/imaq/fromvideodevice.html From Video Device block> from the Image Acquisi...

Wireless webcam integration for Real-Time Windows Target

You can use the <http://www.mathworks.com/help/toolbox/imaq/fromvideodevice.html From Video Device block> from the Image Acquisi...

ungefär 9 år ago | 0

Answered

how to calcuate derivate using simulink

The derivative block computes a time based derivative, using a difference ratio (not an analytic derivative). There is no blo...

how to calcuate derivate using simulink

The derivative block computes a time based derivative, using a difference ratio (not an analytic derivative). There is no blo...

ungefär 9 år ago | 1

Answered

how do I use simulation time as realtime changing variable?

Use a Clock or Discrete Clock block to create a signal (t) then operate with that as your input to the algorithm. The algorithm...

how do I use simulation time as realtime changing variable?

Use a Clock or Discrete Clock block to create a signal (t) then operate with that as your input to the algorithm. The algorithm...

ungefär 9 år ago | 2

| accepted

Answered

Simulink PID Controller Tuning

Try setting the Max Step Size to a small number (.1 or .01). It is possible that the model steps are too large to capture the f...

Simulink PID Controller Tuning

Try setting the Max Step Size to a small number (.1 or .01). It is possible that the model steps are too large to capture the f...

ungefär 9 år ago | 0

Answered

to compare the floating value of a signal with file.mat signal

You can build the equation using blocks from the Math Operations and Logic and Bit Operations libraries. You will need an <ht...

to compare the floating value of a signal with file.mat signal

You can build the equation using blocks from the Math Operations and Logic and Bit Operations libraries. You will need an <ht...

ungefär 9 år ago | 0

Answered

differential equations

Fixed step size is a solver setting under Configuration Parameters on the Solver page. If you are running a continuous model wi...

differential equations

Fixed step size is a solver setting under Configuration Parameters on the Solver page. If you are running a continuous model wi...

ungefär 9 år ago | 0

| accepted

Answered

How to plot graphs automatically in a simulink model??

There are lots of ways! * Signal Viewers * Scope blocks * etc.

How to plot graphs automatically in a simulink model??

There are lots of ways! * Signal Viewers * Scope blocks * etc.

ungefär 9 år ago | 0

Answered

To workspace Block and To Workspace Signal don't exist in workspace

Variables assigned to the workspace do not appear until the model is paused or stopped. If you are trying to process the data f...

To workspace Block and To Workspace Signal don't exist in workspace

Variables assigned to the workspace do not appear until the model is paused or stopped. If you are trying to process the data f...

ungefär 9 år ago | 0