Undefined function or variable 'syms' - C++

Hey, I'm really new with Matlab, and i'm trying to call a function func from my VS C++ project, but i get the next error: Undefined function or variable 'syms'. I'm trying to solve some inequalities. Any help would be really appreciated.
function rez = func(a,b,c)
coder.extrinsic('func1');
rez = func1(a,b,c);
end
function out = func1(a,b,c)
syms x
y = solve(a*x^1 + b > c,x);
out = char(y);
end

답변 (1개)

Steven Lord
Steven Lord 2017년 6월 29일

0 개 추천

Symbolic Math Toolbox is not supported for use with MATLAB Compiler or MATLAB Coder.

댓글 수: 1

Lavinia Monenciu
Lavinia Monenciu 2017년 6월 29일
Thank you for the response. But is there any other way to solve inequalities in Matlab?

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

카테고리

도움말 센터File Exchange에서 MATLAB Coder에 대해 자세히 알아보기

태그

질문:

2017년 6월 29일

댓글:

2017년 6월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by