predict function for svm supported with matlab coder or not ?

1 view (last 30 days)
Hi , i have version 2018 b and my matlab coder doesnt support predict func for svm in machine learning toolbox while in this link (https://www.mathworks.com/help/simulink/ug/functions-supported-for-code-generation-alphabetical-list.html?s_tid=srchtitle) predict function listed as a supported function in matlab coder
i hope u can help me

Accepted Answer

Walter Roberson
Walter Roberson on 21 Jul 2019
shows that predict is supported for MATLAB Coder in R2018b:
Code generation for predict — Save a trained model by using saveCompactModel and define an entry-point function that loads the saved model by using loadCompactModel and calls the predict function. Then use codegen to generate code for the entry-point function.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!