Professional Interests: Simulink, Model-Based Design

Submitted

Parallel Computing with Simulink: Model Reference Build

These files accompany my blog post of the same name.

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

3 years ago | 0 downloads |

Submitted

Hierarchical Symbol Resolution

Example model that shows hierarchical symbol resolution in action.

3 years ago | 0 downloads |

Submitted

Bus Copies Explained

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

3 years ago | 1 download |

Submitted

Simulink Diagnostics Examples

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

3 years ago | 0 downloads |

Submitted

Accurate Modeling in Simulink

These files accompany the November 2006 article in MATLAB Digest

3 years ago | 2 downloads |

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

5 years ago | 2

| accepted

Answered

PSO in simulink

In general, optimization is applied to a Simulink model using MATLAB commands to adjust variables that define the parameters of ...

PSO in simulink

In general, optimization is applied to a Simulink model using MATLAB commands to adjust variables that define the parameters of ...

5 years ago | 4

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

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

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

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

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

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

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

8 years ago | 1

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

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

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

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

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

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

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

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

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

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

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

9 years ago | 1

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

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

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

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

9 years ago | 0