photo

Simulinker


Attivo dal 2014

Followers: 0   Following: 0

Statistica

All
  • Thankful Level 1
  • Promoter
  • Solver

Visualizza badge

Feeds

Visto da

Domanda


Define Pointer in Bus (structure)
Hi all, I need to define a structure that has a pointer to another structure in the generated code. It should look like th...

circa 8 anni fa | 2 risposte | 0

2

risposte

Risolto


Is my wife right?
Regardless of input, output the string 'yes'.

quasi 9 anni fa

Risolto


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

quasi 9 anni fa

Risolto


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

quasi 9 anni fa

Risolto


Add two numbers
Given a and b, return the sum a+b in c.

quasi 9 anni fa

Risolto


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

quasi 9 anni fa

Risolto


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

quasi 9 anni fa

Risolto


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

quasi 9 anni fa

Risolto


Connect blocks in a model
Connect the blocks in the model to produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/connect-blocks...

oltre 9 anni fa

Risposto
Why does code generator transform matrix to array?
Not an answer to my question, but a work around if anyone has a similar problem: instead of using the interp1 function I now us...

oltre 9 anni fa | 0

| accettato

Domanda


Neglecting extern variable in ASAP file
Hello, I'm using Embedded Coder (ert) for code generation with an ASAP2 interface which generates an a2l file. Let's say I h...

quasi 10 anni fa | 0 risposte | 0

0

risposte

Domanda


Why does code generator transform matrix to array?
Hi all, I have a matrix (lets say of dimension 2x3), that is used in an interp1-function in my Simulink model. This interpola...

quasi 10 anni fa | 1 risposta | 0

1

risposta

Domanda


Report Generator: how to add a line break in Paragraph or Text
I am using Report Generator 3.15 (R2013b) and I added some text under my system snapshots in a paragraph (and tried text as well...

circa 10 anni fa | 2 risposte | 0

2

risposte

Domanda


How to define buffer size via parameter in auto generated C code?
Since I did not get an answer on my last question, I try it once again with a more detailed explanation: I'm using a buffer f...

oltre 10 anni fa | 0 risposte | 1

0

risposte

Risposto
How to get a buffer size that can be changed in C code?
No one with an idea?

oltre 10 anni fa | 0

Domanda


How to get a buffer size that can be changed in C code?
Hi, I'm using a buffer from DSP System Toolbox and genereate C code with Embedded Coder. I would like to have some kind of a...

oltre 10 anni fa | 1 risposta | 0

1

risposta