Community Profile

photo

Alex


Active since 2013

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Answered
C-mex function output entire array
I am still looking for a solution, if someone has any idea :)

8 years ago | 0

Answered
C-mex function output entire array
By doing ssSetOutputPortVectorDimension(S, 0, 1000); I can output a vector of size 1000 at each time step. However, whe...

8 years ago | 0

Answered
C-mex function output entire array
Thank you for your answer. However, in my case the signal doesn't only change at run-time, but I need that for each call of the ...

8 years ago | 0

Question


C-mex function output entire array
Hello, The outputs of a S function are usually defined as follows: static void mdlOutputs(SimStruct *S, int_T tid) { ...

8 years ago | 4 answers | 0

4

answers

Question


illegal use of type name mxArray
Hello, When I compile the following code, I get an error from the compiler: int count_OK; double *Gain_f...

8 years ago | 1 answer | 0

1

answer

Question


Plot x-axis and y-axis with mexCallmatlab
Hello, In my S-function written in C I use the function mexCallmatlab to plot the content of an array and it works as I want:...

9 years ago | 1 answer | 0

1

answer

Answered
Plot from C Mex function and C types
Thank you I've managed to copy the Dwork content into an mxArray and the it plots what I want. Actually I'm coding an online ...

9 years ago | 0

Question


Plot from C Mex function and C types
Hello, I'am writing an S-function in C and I need at some point to plot the content of DWork vectors (the first Dwork vector ...

9 years ago | 2 answers | 0

2

answers

Question


simulink block having lower output refresh rate than input
Hello, I programmed a matlab function enabling to calculate an online frequency analysis of time data (online generation of a...

9 years ago | 1 answer | 0

1

answer

Question


Bode diagram of poor input/output signal
Hello, I have an input signal u and an output signal y. The frequency range of the system on which I want to focus is 0-5 Hz....

9 years ago | 1 answer | 0

1

answer