Community Profile

photo

Jim Clay


Active since 2012

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


Terminating some Simulink samples
I have a serial stream of samples in my Simulink model and I would like to be able to "terminate" the first N samples. Is there...

11 years ago | 1 answer | 0

1

answer

Question


Executing a Simulink function from a Matlab function in Stateflow
I have a working Stateflow Chart that executes a number of Matlab functions. I would like to convert some of those functions to...

11 years ago | 1 answer | 0

1

answer

Question


Complex state transition condition
One of my Stateflow Chart state transitions is of the following form: [(thing1 >= thing2) & (thing3 == thing4)]/ DoAction(...

11 years ago | 1 answer | 0

1

answer

Question


Inputting frame-based signals to Stateflow Chart
My Stateflow chart has only one input- "signal". It is a [64 1] frame-based signal. When I do Display->Signals & Ports->Signal...

11 years ago | 2 answers | 0

2

answers

Question


Using 'single' arrays with the "filter" command
We have to minimize our application's memory footprint and execution time, so I'm trying to move from "double" data arrays to "s...

11 years ago | 2 answers | 0

2

answers

Question


Prevent Matlab Coder from making temp arrays into global arrays
I am using Embedded Coder to turn Simulink models into C. It appears, though, that Embedded Coder uses Matlab Coder on the Matl...

11 years ago | 0 answers | 0

0

answers

Question


Frame/sample rate matching in Simulink
My Simulink model has a Matlab function that outputs one 1x13 vector and another 1x1300 vector. I want to interpolate the 1x13 ...

11 years ago | 1 answer | 0

1

answer

Question


Efficient decimation with Embedded Coder
I have the following code as part of a Matlab Function block in Simulink/Embedded Coder: [dcsDec, state.dcsDec1FiltStat...

11 years ago | 1 answer | 0

1

answer

Question


Simulink.Bus and Embedded Coder
I have a few Matlab files that work correctly and implement the functionality I need. I am now trying to port them to Simulink/...

11 years ago | 1 answer | 0

1

answer

Question


Simulink conditional pass-through
I need to be able to destroy Simulink samples or pass them through based on a condition. I am not aware of a block that can do ...

11 years ago | 1 answer | 0

1

answer