Undefined function or variable 'syms' - C++
4 ビュー (過去 30 日間)
古いコメントを表示
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
0 件のコメント
回答 (1 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!