Community Profile

photo

Simulinker


Active since 2014

Followers: 0   Following: 0

Statistics

All
  • Thankful Level 1
  • Promoter
  • Solver

View badges

Feeds

View by

Question


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

7 years ago | 2 answers | 0

2

answers

Solved


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

8 years ago

Solved


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

8 years ago

Solved


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

8 years ago

Solved


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

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

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

8 years ago

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

8 years ago

Solved


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

8 years ago

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

9 years ago | 0

| accepted

Question


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

9 years ago | 0 answers | 0

0

answers

Question


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

9 years ago | 1 answer | 0

1

answer

Question


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

9 years ago | 2 answers | 0

2

answers

Question


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

9 years ago | 0 answers | 0

0

answers

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

9 years ago | 0

Question


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

10 years ago | 1 answer | 0

1

answer