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 months ago | 2 downloads |

Submitted

3-D DataViz Contest Animation

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

3 months ago | 1 downloads |

Submitted

Hierarchical Symbol Resolution

Example model that shows hierarchical symbol resolution in action.

3 months ago | 1 downloads |

Submitted

Bus Copies Explained

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

3 months ago | 0 downloads |

Submitted

Simulink Diagnostics Examples

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

3 months ago | 0 downloads |

Submitted

Accurate Modeling in Simulink

These files accompany the November 2006 article in MATLAB Digest

3 months ago | 3 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...

2 years ago | 0

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

2 years ago | 0

Responded

Re: Simulink 2012b slower than 2007b?

Hi Erik, Thanks you for your message, I am sorry that you are having issues using R2012b with your large Simulink models. We ha...

3 years ago | 1327 views

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

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

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

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

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

5 years ago | 1

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

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

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

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

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

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

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

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

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

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

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

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

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

5 years ago | 0

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

5 years ago | 0

Responded

Re: Spring 2011 MATLAB Contest, April 13 - April 20

Thank you Mike for helping solve this problem. I just want to confirm that Mikes analysis of the problem and proposed solution ...

5 years ago | 14169 views

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

5 years ago | 0