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
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Nour Sd
am 24 Okt. 2017
Kommentiert: Xie Yiru
am 21 Mai 2019
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."
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/168668/image.png)
1 Kommentar
Akzeptierte Antwort
Birdman
am 24 Okt. 2017
In this kind of situation, if possible, the best possible solution is to write the function by yourself and embed it into a MATLAB Function block in Simulink.
0 Kommentare
Weitere Antworten (4)
Image Analyst
am 25 Okt. 2017
svmtrain will be removed in a future release. Use fitcsvm instead.
0 Kommentare
LAKKAVARAM SAI CHARAN BHARADWAJ 17MPE0013
am 27 Feb. 2018
Iam also facing the same issue could you please help me in regarding.Give some insights this can be solved.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!