photo

Daniel


Microsoft Corp

Active since 2011

Followers: 0   Following: 0

Message

Statistics

  • First Review

View badges

Feeds

View by

Answered
mxMalloc vs mxCreate
You mention that "under no circumstances should a mixed-memory-model mxArray be passed back into the MATLAB workspace". As I ...

13 years ago | 0

Question


mxMalloc vs mxCreate
When talking to compiled Matlab code (not writing a mex file), is there any reason I would ever use mxMalloc or mxCalloc()? Am ...

13 years ago | 2 answers | 0

2

answers

Answered
Setting fields of a Matlab struct in C++
I'm OK for now because I got this working using the C versions of the compiled functions, using mxArrays. mxSetFieldByNumber() ...

13 years ago | 0

Answered
Setting fields of a Matlab struct in C++
I think using operator() gives me the same result... if I do this: // Assign field0Value into the struct using operator() ...

13 years ago | 0

Question


Setting fields of a Matlab struct in C++
I have a compiled Matlab function that takes a structure as input. I'm trying to initialize that structure from C++, using the ...

13 years ago | 6 answers | 0

6

answers