From: Doris wang on 2 Mar 2010 21:56 "myfunction.m" is in the current engine directory. I guess that the input A (mxArray) is not recognized by the engine because I saw errors such like "libmx.dll" is not loaded when I tried to debug the code in visual C++. And I am sure I have added libmx.lib and its path to the appropriate place in visual C++. I copied my code to another computer, and it is working now. But it still is not working using the original computer. I am so confused. Yun "James Tursa" <aclassyguy_with_a_k_not_a_c(a)hotmail.com> wrote in message <hmkdih$l2j$1(a)fred.mathworks.com>... > "Doris wang" <doris_wy_us(a)yahoo.com> wrote in message <hmkaat$r4u$1(a)fred.mathworks.com>... > > Sorry, that is a typo here in the forum. The actual name of my function is not "myfunction" and I am sure I typed it right in the command window of MATLAB. So the error message is still > > undefined function or method "myfunction" for the input argument of type "double". > > So the answer is the same. The file myfunction.m is *not* in the current engine directory nor is it on the MATLAB path. Double check where it is. > > James Tursa
First
|
Prev
|
Pages: 1 2 3 Prev: Help me in SVM classify Next: List coefficients of multivariate polynomial |