Error in executing of Console application (.exe) on deployed system

조회 수: 2 (최근 30일)
I want to develop Window standalone applications (.exe) which contains a function f(x,y).and i also want to do double integration of function.for example
syms x y
F=f(x,y)
P=quad2d (F,xmin,xmax,ymin,ymax);
I am facing a problem with console applications (.exe) which i have developed using Deployment tool of MCR version 7.17 (R2012a).when it was double clicked, it takes input parameters as per my M file but it is closing by showing error:
Error in line 27
MATLAB :< undefined function>
As per my matlab code, i have defined variable on line 27. syms x y thats showing error.i don,t know why (syms x y) this shows error.

채택된 답변

Walter Roberson
Walter Roberson 2012년 9월 25일
The Symbolic Mathematics Toolbox cannot be compiled at all.
  댓글 수: 3
Dharmendra
Dharmendra 2012년 9월 25일
Thanks a lot to Walter and Kaustubha for this information. Now i will try other way to do double integration.
Walter Roberson
Walter Roberson 2012년 9월 25일
If the function is known in advance, at the time you compile, then you could create the symbolic function then, and use matlabFunction to write the MATLAB code to a .m file.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by