I work as a Software Developer on the Simulink Semantics team at MathWorks and have a Signal Proc/Communications background.

Professional Interests: Software engineering, Communications/Signal Proc

Answered

Why "Model arguments can not be used in non-tunable expressions"? in Referenced Simulink Models?

Model arguments in a referenced model are specifically designed to allow instances of referenced model to be tuned. It appears t...

Why "Model arguments can not be used in non-tunable expressions"? in Referenced Simulink Models?

Model arguments in a referenced model are specifically designed to allow instances of referenced model to be tuned. It appears t...

6 years ago | 0

Answered

how to copy matlab figure into ms word?

Take a look at the vast number of options at Exporting graphs page and choose the one that suits your need. The simplest approac...

how to copy matlab figure into ms word?

Take a look at the vast number of options at Exporting graphs page and choose the one that suits your need. The simplest approac...

6 years ago | 0

| accepted

Answered

Code Generation GRT: Make DSM non-volatile

I'm guessing you have already looked at <http://www.mathworks.com/help/rtw/ug/data-stores.html#f1103588 storage class of the DSM...

Code Generation GRT: Make DSM non-volatile

I'm guessing you have already looked at <http://www.mathworks.com/help/rtw/ug/data-stores.html#f1103588 storage class of the DSM...

6 years ago | 0

Answered

Function-call initiator output in C-mex file for S Function

This <http://www.mathworks.com/help/simulink/sfg/function-call-subsystems.html documentation page> shows an example of how to ge...

Function-call initiator output in C-mex file for S Function

This <http://www.mathworks.com/help/simulink/sfg/function-call-subsystems.html documentation page> shows an example of how to ge...

7 years ago | 0

| accepted

Answered

Model reference function-call output invalid connection

Could you also paste the exact message? I guess you have already checked the box "Accept Function call" in the Outport block. ...

Model reference function-call output invalid connection

Could you also paste the exact message? I guess you have already checked the box "Accept Function call" in the Outport block. ...

7 years ago | 0

Answered

get all subblock names from a given system

<http://www.mathworks.com/help/simulink/slref/find_system.html find_system> does traverse through the entire model. Search Depth...

get all subblock names from a given system

<http://www.mathworks.com/help/simulink/slref/find_system.html find_system> does traverse through the entire model. Search Depth...

7 years ago | 1

Answered

SIMULINK BUG, or Am I missing something in DATA STORE MEMORY block?

Looks to me like an access issue. How about you make B as a global data store? This is just to make sure that your conditionally...

SIMULINK BUG, or Am I missing something in DATA STORE MEMORY block?

Looks to me like an access issue. How about you make B as a global data store? This is just to make sure that your conditionally...

7 years ago | 0

Answered

How can I break down my Simulink model into smaller parts and allow multiple cores to process the model?

You could try modeling for concurrent execution as described in this <http://www.mathworks.com/help/simulink/examples/modeling-c...

How can I break down my Simulink model into smaller parts and allow multiple cores to process the model?

You could try modeling for concurrent execution as described in this <http://www.mathworks.com/help/simulink/examples/modeling-c...

8 years ago | 1

Answered

How do I write to a data store block in a referenced model?

The page on <http://www.mathworks.com/help/simulink/examples/using-data-stores-across-multiple-models.html Using Data Stores Acr...

How do I write to a data store block in a referenced model?

The page on <http://www.mathworks.com/help/simulink/examples/using-data-stores-across-multiple-models.html Using Data Stores Acr...

8 years ago | 0

Answered

ADC Sampling with Embedded Coder -- TI C2000 F28035

It appears that the function-call subsystem is defined to be periodic. You could change that to 'triggered' instead of 'periodic...

ADC Sampling with Embedded Coder -- TI C2000 F28035

It appears that the function-call subsystem is defined to be periodic. You could change that to 'triggered' instead of 'periodic...

8 years ago | 0

Answered

Where to find Concurrent Execution Window: Main Pane?

The concurrent execution pane is for assisting in modeling distributed systems in Simulink. I do not think that this is what you...

Where to find Concurrent Execution Window: Main Pane?

The concurrent execution pane is for assisting in modeling distributed systems in Simulink. I do not think that this is what you...

8 years ago | 0

| accepted

Answered

Simulink: referenced blocks, library or subsystems?

All three are componentization tools that suit specific needs. <http://www.mathworks.com/help/toolbox/simulink/ug/bs8xh1u-1.html...

Simulink: referenced blocks, library or subsystems?

All three are componentization tools that suit specific needs. <http://www.mathworks.com/help/toolbox/simulink/ug/bs8xh1u-1.html...

9 years ago | 1

| accepted

Answered

Hybrid times, subsystems and model referencing

The model reference instances have to be compatible with the solver type specified in the top model. Take a look at these <http:...

Hybrid times, subsystems and model referencing

The model reference instances have to be compatible with the solver type specified in the top model. Take a look at these <http:...

9 years ago | 1

| accepted

Answered

Data store memory(DSM)

Hi James, Looking through all the warnings, it appears from the diagnostics that the MATLAB Fcn block is running at minor tim...

Data store memory(DSM)

Hi James, Looking through all the warnings, it appears from the diagnostics that the MATLAB Fcn block is running at minor tim...

9 years ago | 0

| accepted

Answered

Data store memory(DSM)

Hi James, Could you give more details on what blocks are being used with the DSM block? Are you using a Data Store Write bloc...

Data store memory(DSM)

Hi James, Could you give more details on what blocks are being used with the DSM block? Are you using a Data Store Write bloc...

9 years ago | 0

Solved

Are you in or are you out?

Given vertices specified by the vectors xv and yv, and a single point specified by the numbers X and Y, return "true" if the poi...

9 years ago

Solved

Pizza!

Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

9 years ago

Solved

Cell joiner

You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

9 years ago

Solved

Determine whether a vector is monotonically increasing

Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

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

9 years ago

Solved

Find all elements less than 0 or greater than 10 and replace them with NaN

Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

9 years ago

Solved

Finding Perfect Squares

Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

9 years ago

Solved

Triangle Numbers

Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

9 years ago

Solved

Column Removal

Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

9 years ago

Solved

Determine if input is odd

Given the input n, return true if n is odd or false if n is even.

9 years ago

Solved

Find the sum of all the numbers of the input vector

Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

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

9 years ago

Solved

Swap the first and last columns

Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

9 years ago