Pregunta


Coder.ceval - Linking problem during compilation
Hi, I am trying to build a standalone C application using matlab coder. The final application will make use of a Matlab engin...

casi 9 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Return by reference from coder.ceval - access to a C array?
Hi, We have some legacy C which we would like to run using coder.ceval. Inside the C function there is an array and we wou...

casi 9 años hace | 1 respuesta | 0

1

respuesta

Respondida
Matlab Engine for C - Passing Arrays
James, I just noticed something. You removed the (void *) from the memcpy call in your code snippet. I only put it there because...

alrededor de 9 años hace | 0

Respondida
Matlab Engine for C - Passing Arrays
Awesome, thanks guys! :)

alrededor de 9 años hace | 0

Pregunta


Matlab Engine for C - Passing Arrays
Hi, I am trying to make a simple Matlab Engine app, and am running into difficulties working out how to pass arrays. The code i...

alrededor de 9 años hace | 4 respuestas | 0

4

respuestas

Pregunta


Matlab coder, cell arrays and intrinsic functions
Hi, I am trying to use Matlab coder to generate some C, where a cell array of variable size is populated with arrays of doubl...

más de 9 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Matlab Engine / Linux problem - Linker Errors...
Hi, I'm trying to compile a simple Matlab engine app, and am hitting some linker problems. I'm trying to use the Engine in ...

más de 9 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Variable types in coder generated C - use in existing C codes
Hi, I want to use Coder to translate some functions into C, then I want to use the generated code in other native C programs....

más de 9 años hace | 2 respuestas | 0

2

respuestas

Respondida
running python script in matlab
HI, I haven't tried this, but one approach I have seen is to embed a Python interpreter in C, and then to call this as a mex ...

más de 9 años hace | 0

Pregunta


Matlab Coder and OpenMP
Hi, I want to mex a function which contains a 'parfor' loop. 'Mex -setup' tells me I'm using 'Intel C++ Composer XE 2013 with...

más de 9 años hace | 1 respuesta | 0

1

respuesta

Respondida
Simple newbie C mex question..
Hi James, Okay..... I got something that actually runs with my test problem (6.33 seconds single threaded, 2.12 seconds OMP! :-...

alrededor de 10 años hace | 0

Respondida
Simple newbie C mex question..
(This is with R2015b on Windows 7, with Visual Studio 2013 by the way)

alrededor de 10 años hace | 0

Respondida
Fortran MEX using Cell arrays - crashing Matlab..
Ah now I see.... that's awesome James, thank you so much. I will give it a go. What is then the correct way of outputting the f...

alrededor de 10 años hace | 0

Respondida
Fortran MEX using Cell arrays - crashing Matlab..
Actually, I'm not so sure. This seems to work, in that when watching in the debugger, the actual 'real valued' array does turn ...

alrededor de 10 años hace | 0

Pregunta


Fortran MEX using Cell arrays - crashing Matlab..
Hi, I am trying to learn how to use cell arrays in Mex functions. I've written a simple test function below, which should take ...

alrededor de 10 años hace | 4 respuestas | 0

4

respuestas

Respondida
Simple newbie C mex question..
Hi James, Well, I switched back to Fortran and I thought I had it worked out, but unfortunately I'm still not getting anywhere....

alrededor de 10 años hace | 0

Respondida
Simple newbie C mex question..
Thanks James for your help.... I am a Matlab coder, not a C one, so I'm really not used to thinking about pointers. I've been t...

alrededor de 10 años hace | 0

Pregunta


Simple newbie C mex question..
Hi, I'm (very) new to C and need to write a C++ mex file that inputs and outputs some cell arrays. So, I'm trying to get my hea...

alrededor de 10 años hace | 5 respuestas | 0

5

respuestas

Pregunta


Indexing (or maybe cellfun?) problem - appending numbers from a vector to rows/cols of cell array
Hi Suppose I have a cell array of doubles.... a = { [1] [2] [3] ; [4] [5] [6] } If I also have a vector.... b = {[6]...

alrededor de 13 años hace | 1 respuesta | 0

1

respuesta