about the error of using "mcc" with the .m which included the function "syms"

in MATLAB, I used the function "syms" perfectly. but while I turned .m into .exe with "mcc -m XXX.m", it showed some error below:
undefined function or method 'syms' for input arguments of type 'char' MATLAB:UndefinedFunction
I have already tried to find out the answer to this problem on the net, but nothing I found.
Can anybody answer me how to solve this problem, thank you very much!
P.S. my computer is 64 bit,and the version of MATLAB is R2010a. I have already installed the "Microsoft visual C++ 2008" and "Microsoft Windows SDK v6.1".

 Accepted Answer

It is not possible to use the MATLAB Compiler to compile any Symbolic Toolbox functions.

3 Comments

Really ?
Or other versions of MATLAB can solve this problem?
I'm very confused with it...
I am afraid this is not an easily solvable problem. No other versions will work. All you can do is to write your own function or to ask the Mathworks to support the symbolic toolbox for code generation. I doubt that's going to happen any time soon. But I've been wrong many times.
Thanks for your answer, hope I can figure it out. But it looks very complicated ...

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!