Community Profile

2014 以来アクティブ

All

バッジを表示

#### Content Feed

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

5年以上 前 | 2 件の回答 | 0

### 2

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

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

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

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

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

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

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

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

6年以上 前

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

7年弱 前 | 0

| 採用済み

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

### 0

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

### 1

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

7年以上 前 | 2 件の回答 | 0

### 2

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

7年以上 前 | 0 件の回答 | 0

### 0

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

7年以上 前 | 0

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

7年以上 前 | 1 件の回答 | 0