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

ongeveer 8 jaar ago | 2 answers | 0

2

answers

Solved


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

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

bijna 9 jaar ago

Solved


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

bijna 9 jaar ago

Solved


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

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

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

bijna 9 jaar 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:...

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

meer dan 9 jaar 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...

meer dan 9 jaar 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...

bijna 10 jaar 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...

bijna 10 jaar 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...

ongeveer 10 jaar 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...

meer dan 10 jaar ago | 0 answers | 1

0

answers

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

meer dan 10 jaar 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...

meer dan 10 jaar ago | 1 answer | 0

1

answer