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

oltre 7 anni fa | 0

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

oltre 7 anni fa | 0

Domanda


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

oltre 7 anni fa | 4 risposte | 0

4

risposte

Domanda


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

oltre 7 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 7 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 7 anni fa | 2 risposte | 0

2

risposte

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

quasi 8 anni fa | 0

Domanda


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

quasi 8 anni fa | 1 risposta | 0

1

risposta

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

oltre 8 anni fa | 0

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

oltre 8 anni fa | 0

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

oltre 8 anni fa | 0

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

oltre 8 anni fa | 0

Domanda


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

oltre 8 anni fa | 4 risposte | 0

4

risposte

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

oltre 8 anni fa | 0

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

oltre 8 anni fa | 0

Domanda


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

oltre 8 anni fa | 5 risposte | 0

5

risposte

Domanda


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

oltre 11 anni fa | 1 risposta | 0

1

risposta