The extrinsic function 'svmpredict' is not available for standalone code generation. It must be eliminated for stand-alone code to be generated. It could not be eliminated because its outputs appear to influence the calling function. Fix this error b
이전 댓글 표시
Hello, I am using MATLAB Coder. When I generate my code MATLAB to c code, I get this problem and I don't know how to fix it.
"The extrinsic function 'svmtrain' is not available for standalone code generation. It must be eliminated for stand-alone code to be generated. It could not be eliminated because its outputs appear to influence the calling function. Fix this error by not using 'svmtrain' or by ensuring that its outputs are unused."

댓글 수: 1
Xie Yiru
2019년 5월 21일
hello have you solve the problem?
채택된 답변
추가 답변 (4개)
Image Analyst
2017년 10월 25일
1 개 추천
svmtrain will be removed in a future release. Use fitcsvm instead.
LAKKAVARAM SAI CHARAN BHARADWAJ 17MPE0013
2018년 2월 27일
1 개 추천
Iam also facing the same issue could you please help me in regarding.Give some insights this can be solved.
Xie Yiru
2019년 5월 21일
0 개 추천
I have the same problem. Can you tell me how fix that?
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!