Solved


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

8 years ago

Solved


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

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


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


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

Answered
How to compile .tlc to .mexw64 or obtain source .c file
The .tlc file is just a template for the created mex file and s-function. It is used for code generation of the s-function you h...

9 years ago | 0

Question


How to pass address of a variable to an S- function block containing C code?
When I declare a variable as "importedexternpointer" and use that variable in a constant block and connect it to the s-function,...

9 years ago | 0 answers | 0

0

answers