질문

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년 이하 전 | 답변 수: 4 | 0

질문

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년 전 | 답변 수: 0 | 0

질문

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년 전 | 답변 수: 1 | 0

질문

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년 전 | 답변 수: 1 | 0

답변 있음

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

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년 이상 전 | 0

질문

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

5년 이상 전 | 답변 수: 1 | 0

답변 있음

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

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년 이하 전 | 0

답변 있음

Simple newbie C mex question..

(This is with R2015b on Windows 7, with Visual Studio 2013 by the way)

Simple newbie C mex question..

(This is with R2015b on Windows 7, with Visual Studio 2013 by the way)

6년 이하 전 | 0

답변 있음

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

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년 이하 전 | 0

답변 있음

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

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년 이하 전 | 0

질문

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년 이하 전 | 답변 수: 4 | 0

답변 있음

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

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년 이하 전 | 0

답변 있음

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

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년 이하 전 | 0

질문

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년 이하 전 | 답변 수: 5 | 0

질문

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년 이하 전 | 답변 수: 1 | 0