MATLAB: How do i convert the following into exe

alternative methodexeMATLAB Compilermatlab convert to exesolvesymvpasolve

x = sym('x');
y = (x.^2 + 2*x + 1);
answer = vpasolve(y,x);
a = double(answer);
I just want to make a program that solves the above quadratic equation and get a exe file. I wrote the above code. it worked good in matlab. I converted the .m file to exe by
mcc -m filename.m
The exe file is not working. Can anyone suggest any solution or any other code to solve the eqaution so that i can convert it into exe?

Best Answer

Matlab compiler does not support symbolic toolbox
You can read this thread too: