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

5 years ago | 0

Question


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

5 years ago | 4 answers | 0

4

answers

Question


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

5 years ago | 0 answers | 0

0

answers

Question


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

5 years ago | 1 answer | 0

1

answer

Question


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

5 years ago | 1 answer | 0

1

answer

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

5 years ago | 0

Question


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

6 years ago | 1 answer | 0

1

answer

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

6 years ago | 0

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

6 years ago | 0

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

6 years ago | 0

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

6 years ago | 0

Question


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

6 years ago | 4 answers | 0

4

answers

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

6 years ago | 0

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

6 years ago | 0

Question


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

6 years ago | 5 answers | 0

5

answers

Question


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

9 years ago | 1 answer | 0

1

answer