How do i convert the following into exe?

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?

 채택된 답변

David Sanchez
David Sanchez 2014년 6월 13일

0 개 추천

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

질문:

2014년 6월 11일

답변:

2014년 6월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by