With 2010a on linux I did
I got a warning about memcpy, but it was otherwise ok. I then run main from within matlab. It chugged along merrily producing graphics and lines like
time = 1080 CpxOrder = 0 RealOrder = 1, particles 100
56208886549439840066583664670207701182657741587224844696409564724083792689410710678220961942270720085773761083617378352112101243224064.000 ----------------------------------------------------------
before seg-faulting. It's rather old C code, and memcpy usage might need tightening up, but it's not completely broken.
2 Comments
Direct link to this comment
https://it.mathworks.com/matlabcentral/answers/199-mex-errors-calling-c-code-from-matlab#comment_84
Direct link to this comment
https://it.mathworks.com/matlabcentral/answers/199-mex-errors-calling-c-code-from-matlab#comment_84
Direct link to this comment
https://it.mathworks.com/matlabcentral/answers/199-mex-errors-calling-c-code-from-matlab#comment_151
Direct link to this comment
https://it.mathworks.com/matlabcentral/answers/199-mex-errors-calling-c-code-from-matlab#comment_151
Sign in to comment.