I write a test function like this:
function a=test()
suffix=[1 2 3];
vfit=[1 2 2];
av_sym = poly2sym(suffix, 'v');
vt_sym = poly2sym(vfit, 't');
at_sym = compose(av_sym, vt_sym);
afit = sym2poly(at_sym);
a=afit;
I save it as test.m. And when i execute it using "test" in matlab
command window, it seems there is no problem at all.
BUT after i compile the .m file using "mcc -mv test.m", when i
execute the executeable file test.exe in WINDOWS command window, I
got an error message:
"??? Undefined function or method 'poly2sym' for input arguments of
type 'double'"
My environment:
MATLAB 2006b/Windows XP sp2
compiler: lcc
Is there anyone can test this problem and give me some comments??
Thanks a lot!
Is anyone please give me some tips?
a hint:
scrutinize this
<http://www.mathworks.com/products/compiler/compiler_support.html>
and look at the last sentence of this page
us
us,
Thanks very much, i think this is exactly the reason of th problem.
Now i have to find a way to use symbolic toolbox in a standalone
executable application.
thanks again.~