From: Rafael Valenzuela on 5 May 2010 14:36 Hi: I have a problem when you try to call a matlab function with this function I get always the same error and what I need is to pass the result to a double l, the other question is how to pass multiple entries separated by commas. this is a code http://pastebin.com/mp73f6Gv error :Parameter.cu(92): error: argument of type "mxArray **" is incompatible with parameter of type "const mxArray *"
From: Steven Lord on 5 May 2010 14:45 "Rafael Valenzuela" <ravamo(a)gmail.com> wrote in message news:hrsdqk$t02$1(a)fred.mathworks.com... > Hi: > > I have a problem when you try to call a matlab function with this function > I get always the same error and what I need is to pass the result to a > double l, the other question is how to pass multiple entries separated by > commas. > this is a code > http://pastebin.com/mp73f6Gv error :Parameter.cu(92): error: argument of > type "mxArray **" is incompatible with parameter of type "const mxArray *" As with your last posting, where you tried to pass a double in as the third input argument to mexCallMATLAB, you should/must pass in an input that exactly matches the signature given on the documentation page. -- Steve Lord slord(a)mathworks.com comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
|
Pages: 1 Prev: help with image processing (URGENT!!) Next: Simulink Bus Object creation |